Particle Trail Sim – Creating a Small Sun

In the previous section I had the gravity as a force towards the centre point of the screen and the particles circular area. Reversing the force of the centre point gravity causes the particles to stick to the outside of the simulation, further behaviours become visible resembling the ribbons seen of plasma on our sun. This simulation is still using a fixed speed model which adds a specifically tuned amount of force to the particles towards the outside and then normalises the velocity vector * speed to fix the speed at a specified value.

One comment

Comments are closed.

%d bloggers like this: