Wednesday, January 8, 2014

A Display of Magnetism

With my latest dabble into art, I wanted to create a pseudo-magnetic field with particle effects. I setup the canvas initially by creating four central "spots" of some kind of metal. After the setup, four magnets are placed into the corners which draw the particles depending on where they were originally located. The particles are given a small initial velocity in which they are "captured" by the magnets. Particles continue to be created and eventually die. This is semi-unrealistic, but having several million particles on a 130x130 canvas would crash the program (and these poor Linux lab computers).




2 comments:

  1. Neat. It would also be cool to create a magnetic field something like this: http://idea9202studio.files.wordpress.com/2013/08/magnet.jpg

    ReplyDelete
  2. Cool! Saw this during class, but I wanted to come back and read the full explanation (not in Dadaist Poem form).

    ReplyDelete