Page 1 of 1

Reducing fractals.

Posted: Wed Jul 06, 2005 2:30 pm
by Guest
Is there a way to "fill" the drawing area with a color/shade, so you can use white squares to perform reducing fractals?

Otherwise, is there a way to "invert" the rendered results?

Posted: Tue Jul 12, 2005 11:42 am
by PatternGuru
I guess you could draw a large black SQUARE and then draw your actual drawing on top of that using brightness 1. A bit like:

Code: Select all

startshape BACKGROUND

rule BACKGROUND {
	SQUARE [ s 150 b 0 ]
	SCENE [ b 1 ]
}

rule SCENE {
	# Whatever you actually want
	TENDRIL {}
}

rule TENDRIL {
	SQUARE {} 
	TENDRIL { x 1 r 1 s .99 }
}
Problem with that is of course that you never quite know beforehand how large to make the background, but it might give you something to go on.