Category > Processing

Fake Gravity Fluid

Ricki » 31 August 2009 » In Java, Particle, Processing, Uncategorized » No Comments

I was playing around with the Traer Physics Library for processing/java. It is really fast but even though I had done some small experiments with it a year or so back, I still had to dig out the manual and refresh some basic stuff.
Well Im looking into the whole FluidSolver thing, again, and I thought it could be fun to do a fast and crude Newtonian approach and just go for an effect that looks a bit like it, but is far more simple.

16834 particles fakes fluid

Example and code here

Continue reading...

Tags: , , ,

Circle Intersection

Ricki » 09 August 2009 » In Processing » No Comments

“What is the point”

was my first thought on this.
I had to do some calculations on the intersections between circles, that was pretty straight forward and I got a class written up in Processing that could do just that.
Then I started playing around and ended up moving 10 circles around the screen using Perlin noise and if any of them intersects, I draw a dot. Pointless? certainly!

Maybe there is someone out there with an idea on how to make this into something other that a cpu hogging math feast. I would love to hear from You:)

Well there is some Perlin movement, some ArrayList looping and of course that class that takes 2 circles and returns their intersection, maybe someone can use that for something useful.
A short run, maybe it get's better?

Example and code here:

Continue reading...

Tags: , , , , , , ,