xxxxxxxxxx
36
function my_garden() {
wave_min = -0.01
wave_max = 0.01
stem_bend = wave(t / 2)
repeat_count = 14
repeat(stem)
branch(bud)
bud_size = 0.1
ring_count = 15
ring_radius = 3
ring(my_blossom)
}
function my_blossom() {
ring_radius = 0
ring_count = 5
ring(my_petal)
}
function my_petal() {
wave_min = 0.5
wave_max = 1
petal_size = wave(f * 5 + t)
petal()
wave_min = -0.5
wave_max = 0.5
stem_bend = wave(f + t)
stem()
petal_color = "blue"
petal()
bud()
}