
Taking the 3d particle primatives a bit further (and adding color) I've found that some very nice and rather interesting models can be made when you simply change a sphere a little bit.
Normally I'd do these in order, but in this case I'd recommend you checkout M4 first to get a taste (it's certainly my fav).
Before the list, a very brief description; here we have the code to generate a sphere:
for( i in 0...PARTICLES ) {
a = (PARTICLES/360)*i;
r = (i/PARTICLES) * Math.PI;
x = Math.cos(a) * Math.cos(r);
y = Math.cos(a) * Math.sin(r);
z = Math.sin(a);
}
now all we are going to be doing is adding in some steps, or changing the odd cos/sin with cos/sin/tan - nothing complex.
Now.. M7 is a rather interesting one.. because it has two very interesting variations (imho) primarily the eye which produces a flat, yet 3d shaded circle..?
In addition there are a few more which are created by simply stepping colors or values:
again, thanks to haXe for allowing this - remember it's all just particles rendered in realtime.















