Ricki »
21 September 2009 »
In Processing »
This is a small experiment I did on “packing circles”. The circles are not really packed, the program just keeps suggesting circles of varying sizes in different positions on the screen and then tests to see if they will fit. If they fit they are drawn if not they are discarded.

A small 5 min. run of the program
Example and code here
Continue reading...
Tags: circle, packing
Ricki »
09 August 2009 »
In Processing »
“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.

Example and code here:
Continue reading...
Tags: algorithm, circle, fun, intersection, Java, noise, Perlin, Processing