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
3
votes
2 answers

How do I shorten Cocos2D particle lifespan?

I've tried experimenting with low life, low life var but the particles seem to hang around for a few seconds. I want them to fade quicker. I have an NSObject which has a particles property on it. I setPosition every tick on the particles property to…
quantumpotato
  • 9,637
  • 14
  • 70
  • 146
3
votes
2 answers

How can I create a random simulation?

I've been playing this flash game and after I'd gotten over the initial ('lol, fire') reaction I started to wonder how I could replicate this contact-mutate behaviour in programming. I guess it's a little like the honeypot xkcd. I was thinking of…
Ross
  • 46,186
  • 39
  • 120
  • 173
3
votes
7 answers

what is the easiest way to implement particle system without openGL nor cocos2d

All is in the question, I've worked enough with cocos2d to say it's a great library but today I only wanna use particle system in a total UIKit project. As long as I know, unfortunately, I have to implement one with OpenGL. Any suggestions ?
klefevre
  • 8,595
  • 7
  • 42
  • 71
3
votes
1 answer

Draw text pixel by pixel on canvas

I have a canvas where I use "fillText" with a string, saying for example "stackoverflow". Then I read the imagedata of the canvas in order to pick out each pixel of that text. I want to pick the following from the pixel: x position, y position and…
nickelman
  • 702
  • 6
  • 24
3
votes
2 answers

3D MATLAB scatter plot of particles of different sizes

I am looking for a robust way to 3D plot particles for which I have the 3D coordinates and radii: x=[0 1 1 0 0 1 1 0]'; y=[0 0 1 1 0 0 1 1]'; z=[0 0 0 0 1 1 1 1]'; radius=[0.1 0.5 0.1 1 1 0.4 0.6 0.2]'; I tried using: …
LeChat
  • 466
  • 3
  • 18
3
votes
1 answer

Libgdx Android particle effect not working properly the first time

My problem is that the particle effect has to run several times at the beginning to start working properly on Android. During the first few times, it is showing just one particle, then at one moment it shows too much of them and then the next run is…
dobowicz
  • 99
  • 7
3
votes
2 answers

Flash Actionscript 3.0 : Number Type and Decimal Precision (Vector Fields and Particles)

I'm modeling a vector field in flash and spawning a mess of particles to visualize the flow of the field. Using the vector field F(x,y)=yi-xj This vector field has a curl, the particles are to move in circles which they do. My problem is that the…
warpstack
  • 71
  • 2
  • 10
3
votes
0 answers

Kd Tree vs. Sorted Morton Codes

I'm currently programming an opengl 2d particle system, but I've run into more of a general programing problem that I need help with. Basically, I need a way to find if particles may be colliding, I.e. broad phase collision detection. I've done a…
Barbacamanitu
  • 61
  • 1
  • 4
3
votes
3 answers

Reading Pixels in WebGL 2 as Float values

I need to read the pixels of my framebuffer as float values. My goal is to get a fast transfer of lots of particles between CPU and GPU and process them in realtime. For that I store the particle properties in a floating point texture. Whenever a…
Feppster
  • 101
  • 1
  • 7
3
votes
1 answer

Particle in SpriteKit does not appear on iPhone simulator

I am using this code to add the Particle : NSString *explosionPath = [[NSBundle mainBundle] pathForResource:@"Explosion" ofType:@"sks"]; SKEmitterNode *explosion = [NSKeyedUnarchiver unarchiveObjectWithFile:explosionPath]; explosion.position =…
asafbar
  • 931
  • 1
  • 9
  • 12
3
votes
0 answers

Qt Quick 3D and Qt Quick Particles (Qt 5.3)

I've just started developing a virtual-reality application that uses the Qt Quick 3D library to draw the scene. I am new to Qt Quick, but not new to computer graphics. My scene is extremely basic as of now, but I would like to add small particle…
moosingin3space
  • 326
  • 2
  • 5
3
votes
2 answers

Three.js: How to animate particles along a line

I'm trying to animate particles along a path similar to this chrome expriement: http://armsglobe.chromeexperiments.com/ I've tried digging into the source of this project, and what I've groked so far is that they are using a built in curve method …
jigglebilly
  • 131
  • 1
  • 8
3
votes
2 answers

LIBGDX "parsing error emitter" with 2 or more emitters

I have a problem with the use of particle effect of LIBGDX with 2 or more emitters. After using ParticleEditor to create my .p file, I use it in my code BUT...when I use only 1 emitter it's fine but with more than 1, not fine ! :( Here is my error…
Zanimo
  • 53
  • 6
3
votes
2 answers

Adding a particle emitter to the FlappySwift project

I've been having a play with Swift today, I forked the FlappyBird clone and have been making a few changes, like adding collision detection. I'd like to have some particles emitted when the bird hits the pipe, so I've done a bit of reading and found…
jolyonruss
  • 1,770
  • 2
  • 19
  • 34
3
votes
1 answer

How do I reuse objects in an array for a particle system in JavaScript/jQuery?

I'm in the process of building an entity system for a canvas game. This started from a simple particle emitter/updater which I am altering to accommodate a multi-particle/entity generator. Whilst I am usually ok with JavaScript/jQuery I am running…
Bojangles
  • 33
  • 4