Two particles attached by a weak spring, both with high gravitational attraction. There is a plane in the middle which both bounce off elastically, and they exhibit an interesting periodic motion. |
It's a cloth falling on a sphere! |
It's a dancing mushroom! |
Party! Took my castle from last time and added particles! One circle source in the middle with four sphere sinks (one on each side). |
An ico pendulum that is attracted to a sink. By the end, equilibrium should be reached where the pendulum is not hanging exactly straight down but slightly tilted towards the sink. |
This is just an extension to the climbing scene with a sphere sink. I just added a few more particles to the scene to see how they'd behave. |
Trails and dynamic materials, made with the #DYNAMIC_MATERIALS and #DRAW_TRAILS macros. |
I made this scene to test collisions, particle rendering, and camera views. The source is inside the largest magenta sphere, but I didn't count the intersection with the inside as a collision. |
Particle view |
Particles trapped in a box and moving in one plane in 3D. Added spherical obstacles on the ground to make a rough ground and bounces more interesting. |
Tried to create a pyramid-style staircase. Definitely some peculiarities here. |
I think it's kind of fun, right? |
Particle rendering |
AMERICAN CHEETAH SUPER HERO |
The particles bouncing off the ico make some cool patterns while they orbit the sinks. |
Modification of cloth.scn to make it fall over various spheres and crumple on the ground. |
Combination of attractive and repulsive sinks. |
Instability in the falling mushroom scene. |
Cool orbit patterns with sinks. |
Sphere source in background and spring-cube caught up the particle forces. |
My sad life. |
Moving particles around on a surface is hard because you can end up with an infinate number of collisions. It's easy to deal with this when sliding along one object (you just remove components of force into the object). However, when a particle gets stuck in a corner, you can bounce between two objects forever and freeze the game. I dealt with this bug (which occurs pretty rarely), but detecting particles which have had more than 100 collisions in a time step, and remove them from the scene.
My scene has two layers of spheres, which move the particles around through collisions. |
Red particles spilling onto a cylinder. |