Magnetic structures.

Finally got around to cleaning a little more code and managed to fix a nagging bug while I was in there. Now the magnetic stuff is pretty solid. Its totally driven by vectors. It uses a bezier interpolation to make smooth ribbon trails (thanks to Ryan Alexander for the assist). It is nearly fractalicious in that the large particles use the same code as the small particles. Theoretically, I could keep adding on varying sizes of particle systems to get a crazy zoomy mess of different sized particles.

Let me be clear on that last point. Im just not that good at explanations. Right now, I have particles I call Gravity and particles I call Particles. G and P for short. All the Gs push each other away. All the Ps push each other away. All the Gs pull at all the Ps. Simple enough. There is a third tier in place. There is a central pull to keep the Gs from pushing each other off screen. Lets call it C (for center). It is fully possible and certainly expected that I will next make a bunch of Cs. They will pull at all the Gs which will pull at all the Ps. And hey, why not. I will make the Ps pull at the Qs. And so on and so forth.

It should be intriguing. I can picture it but I may not fully be able to explain it. You will just have to sit and wait for the results.

Magnetic Sphere (distorted) on Vimeo

10 Responses to “Magnetic structures.”

  1. This is beautiful. So complex, yet so simple.

  2. Simon says:

    Wow it’s really cool.
    Nice elastic movement. Kind of beautilfull sphero-fluids.
    I can’t wait to see it with music. :)

  3. Andrew says:

    That’s beautiful – can’t wait to see more!

    I wish I could have you VJing at my party in a couple of weeks – would beat the living **** out of AVS!

  4. This is just insane. What -extremely- great imagery this produces. If you want to host this big, I can put up a mirror for you, just let me know. Please, keep experimenting – you are a great inspiration to me, and many people I show this to. It’s amazing and great work you produce. If you will ever release the source (making graphic ’scripts’ myself, I can fully understand and honour if you do not (I hardly ever know what the hell I was doing when I got to the ‘pretty point’) ) it will probably push Processing even further into the ‘professional’ sphere. Until now, if I had to make an advert for something, I’d hire you. What’s cooler than someone who makes code to produce the graphics desired?

    You rock.

  5. Jon B says:

    You should post some large, hi-res screenshots – it looks awesome. You could even sell prints I bet.

  6. Simon says:

    I see that I’m not the only one to fall in love….

    Sometimes I wish I was gay :-) …..

  7. Tyler says:

    This demonstration is very interesting and awesome looking. It’s actually opening my eyes to look at things a littler differently. Does it act like this because there is an equal amount of G and P’s? I wonder what the effect having an overwhelming amount of G over P or visa versa is.

  8. [...] { Robert’s Magnetic structures + iTunes visualizer } [...]

  9. beer says:

    peculiar but yet insanely elegant. It is a beatuiful set of motion

  10. birdie says:

    looks like peyote buds…