The final (in theory) firefly video. Featuring firefly synchronisation (the first visible synchronisation happens a few seconds in, and gets stronger very quickly), Perlin noise flocking, a nice 3D environment and additive blending for cool glowy effects. Also, as a sidenote, the first beautiful thing I've created using Processing, and possibly programming in general.

While the boids patterns were interesting, they don't provide the same 'natural' movement that Perlin noise does. So I stuck with this one.

Next, I suppose, would be some some Predator / Prey behaviour but I'm now more interested in making nice looking sketches, returning to flocking / swarming / AI later.

Links:
Firefly Synchronisation (WARNING: PDF file link) math.hmc.edu/math164/2006/runyeon/finalreport.pdf
Inspiration / Additive Blending tutorial: flight404.com

Credits

13 Likes

  • Rik Lomas 2 years ago
    This is really great, Ryan, I particularly like when the lines come in between the fireflies, it's impressive, would love to see how you did it!
  • Ryan Bateman 2 years ago
    At some point I'll get a domain back up and running and start posting all the source and demos. If you'd like I can email you the code, though I should warn it's not particularly well commented at the moment. Is there anything specific you wanted to know about? I can send you code snippets about the bits you're interested in.
  • Rik Lomas 2 years ago
    Hi Ryan, that would be great if you could send some code over, my address is rik at the website in my profile - the one with 3 rik's in. I'll happily send some of my code back in return. I'm interested mainly in the additive blending and the flocking algorithms
  • Ryan Bateman 2 years ago
    Code / Email is on it's way.
  •  
  • FIELD plus 2 years ago
    good work!
  •  
  • Romney Project 9 months ago
    Nice work!! Looks awesome.
    Are you using the OCD library? And PNGs for the additive blended particles?
  • Ryan Bateman 9 months ago
    Wow, took me a whle to notice this comment. PNGs for the particles but not the OCD library. Not entirely sure what that is but I'll check it out.
  •  
This conversation is missing your voice. Take five seconds to join Vimeo or log in.

Advertisement

2 Related collections

Statistics

  •  
    plays
    likes
    comments
  • Total
    plays 1,851
    likes 13
    comments 7
  • Dec 19th
    plays 0
    likes 0
    comments 0
  • Dec 18th
    plays 2
    likes 0
    comments 0
  • Dec 17th
    plays 4
    likes 0
    comments 0
  • Dec 16th
    plays 4
    likes 0
    comments 0
  • Dec 15th
    plays 8
    likes 0
    comments 0
  • Dec 14th
    plays 7
    likes 0
    comments 0
  • Dec 13th
    plays 1
    likes 0
    comments 0
  • Dec 12th
    plays 4
    likes 0
    comments 0
Previous Week

Downloads

Please join Vimeo or log in to download the original file. It only takes a few seconds.