Tag Archive > intersection

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: , , , , , , ,