Questions tagged [particles]

Particle in computer graphics usually refers to the small, simple images or 3D models (meshes) that are governed by and make up a particle system, usually used to depict a fuzzy object (e.g. fire, smoke, glowing trail left behind by a meteor).

Particle (in computer graphics)

Particles are small units that together represent a fuzzy object in a particle system. Over time the system generates particles, which move and change from the origin of creation (or emission) and eventually die or fade away. Link to academic paper

Particle can have a different meaning depending on if the field is computer graphics, nanotechnology, or physical sciences

788 questions
2
votes
1 answer

How would you create a particle SURFACE emitter based on a created canvas shape? HTMLS CANVAS JS

I have a shape (a quarter circle) that I've created using the html canvas function: moveTo LineTo QuadraticCurveTo How do I go about exploding the shape into particles and then return them to form a circle?
Feeney
  • 357
  • 2
  • 4
  • 12
2
votes
1 answer

use particle from particle designer to a project

I would like to use my particle created with particle designer in my xcode project that is not a cocos 2D project.Can I use it ? And if yes how ?
jean bernard
  • 257
  • 2
  • 3
  • 10
2
votes
0 answers

use particles of particle designer in the project or create particle that doesn't take too much memory

I would like to know if it is possible to use the particles I have created in particle designer in my xcode project ( not cocos 2d project). if it is impossible how can I create a particle that doesn't take too much memory ( creating images in an…
jean bernard
  • 257
  • 2
  • 3
  • 10
2
votes
0 answers

Eliminating Certain Values in Dataframe

Initial Data d = {'RedVal':[1,1.1,2,1.5,1.7,2,1,1.1,2,1,1.1,2,2.6,2.5,2.4,2.5], 'GreenVal':[1,1.1,1.1,1,1.1,1.7,1,1.1,1.5,1,1.9,3,2.8,2.7,2.6,2.5],'Frame':[0,1,2,3,0,1,2,3,0,1,2,3,0,1,2,3],'Particle':[0,0,0,0,2,2,2,2,3,3,3,3,4,4,4,4] } testframe =…
k07
  • 21
  • 2
2
votes
2 answers

I want to parallelize a fragment of code in C usig OpenMP but getting a wrong output

I have this fragment of code that calculates the force experienced by each unique pair of particles due to a potential form. I am trying to parallelize the nested for loops, however, the output that is expected is different from the correct output.…
2
votes
1 answer

Problem implementing an equation into an animation

I'm using the following code to simulate the motion of a set of particles, where a parameter p determines the probability of a given particle to move or not, and generates an animated plot: # Comparação entre random walk e difusão em 1d import numpy…
2
votes
1 answer

tsParticles has worse performance on live-server

I am currently stuck and unable to locate the error. After building my react application containing the react-tsParticles package, I noticed a immense worse performance after publishing it on my nginx-based webserver. While in local development…
2
votes
0 answers

Particles.js not covering full screen

I have seen other questions on StackOverflow about this but none of them covered my error. I am building a web app on React and thought everything was ok until I realized that when I press F11 and go fullscreen particles.js doesnt cover the whole…
Facu Bozzi
  • 31
  • 5
2
votes
1 answer

simulating the collision of particles in Julia

I would like to simulate the collision of particles inside a box. To be more specific I want to create a function (lets call it collision!), that updates the particles velocities after each interaction, like shown in the image. I defined the…
2
votes
1 answer

particle animation background for kivy

I want to put a particle animation in the background screen of my software, something like the link below, but for Python and kivymd codepen.io/JulianLaval/pen/KpLXOO I know this may be difficult or impossible for kivymd right now but if anyone has…
vahidkoohkan
  • 162
  • 1
  • 4
  • 11
2
votes
1 answer

Improving halftone / particles performance in P5js

I want the dots to react smoothly so I’m wondering if there’s a way to improve performance on this code. I’m trying to create an isometric grid of dots that serves both as a halftone effect (which I have reached) and a particle system that reacts to…
Tom Bar-Gal
  • 209
  • 2
  • 4
  • 13
2
votes
1 answer

Collision detection with particles in Cocos2d

I am using CCParticleSystemQuad to create a particle effect. Now I would like to test for collisions with a CGRect from my Cocos2d scene. I listed another subject similar to this one and got a little closer however I still do not have the full…
Kangoo
  • 143
  • 3
  • 15
2
votes
1 answer

Cannot Click UIButton When Particle Emitter Is On Screen

When using a particle emitter, regardless of the position I cannot click the UIButton. If I disable the particle emitter function in viewdidload, I am able to press the UIButton (playButton). I have tried both zPosition and bringsubviewtofront. I am…
nickreps
  • 903
  • 8
  • 20
2
votes
1 answer

Is there a faster alternative to np.where()?

I have a set of 100 data files containing information about particles (ID, velocity, position etc). I need to pick out 10000 specific particles having certain ID numbers from each of them. The way i am doing it is as follows for i in…
2
votes
0 answers

How to count dead particles in the compute shader?

I am working on particle system. For calculation of each particle position, time alive and so on I use compute shader. I have problem to get count of dead particles back to the cpu, so I can set how many particles renderer should render. To store…