spirals

…in the windmills of your mind

…and relax! That’s enough spiralling for a while.

Tags: ,

Sunday, April 19th, 2009 coding No Comments

…like the circles that you find…

It’s time to add some movement. I expected the arms of the spirals to twist and unfurl, rather like seaweed moving back and forth underwater, but instead there are discrete steps, even when I change the variables very slowly.

Tags: ,

Saturday, April 18th, 2009 coding No Comments

…as the images unwind…

And it’s back to the spirals. At last, I’m getting somewhere with those hexagons. I’d made a mistake while converting the rotation for each hexagon to radians.

Tags: ,

Friday, April 17th, 2009 coding No Comments

…never ending or beginning on an ever-spinning reel…

And yet more spiral-based curves. These, I admit, were accidents. I was trying to write code to draw hexagons in place of the circles in yesterday’s examples, but I haven’t got it right yet.

Tags: ,

Thursday, April 16th, 2009 coding No Comments

…like a wheel within a wheel…

(Is that a spirograph she’s singing about?)

Some more experiments with spirals from Mathographics. I merely inserted the suggested values for constants in the principal equation. Presumably people have explored wide ranges of values, and these ones are worthy of note. I don’t understand, though, why there are breaks in the lines, and, in some cases, distinct clusters.

Tags: ,

Wednesday, April 15th, 2009 coding No Comments

like a circle in a spiral – d springfield

I’ve skimmed through most of the books I ordered through work, but I’ve decided to start with Mathographics by Robert Dixon. There’s a lot in there that’s not relevant to what I’m concentrating on just now, but it looks interesting enough for a return visit. The section on spirals caught my eye, partly because I’ve already been reading about the role of phi in nature, and how it underlies the geometric patterns of shells and sunflowers.

The book was published in 1987, so it’s not surprising that the sections of pseudo-code are close to Basic. (Ah, I remember my friend’s Spectrum back in ’83, with its commands linked directly to the rubber keys.) It wasn’t too hard to rewrite the pseudo-code in Processing – the only difficulty was remembering to translate from degrees to radians and from polar co-ordinates to Cartesian co-ordinates.

Here are my first experiments:

Tags: ,

Tuesday, April 14th, 2009 coding No Comments