2 USING: kernel namespaces math random opengl.gl opengl.glu ui ui.gadgets.slate
5 IN: cfdg.models.aqua-star
10 [ .23 y .99 s .002 b tentacle ] do ] }
12 [ .17 y 2 r .99 s .002 b tentacle ] do ] }
14 [ .12 y -2 r .99 s .001 b tentacle ] do ] } }
21 [ 10 x -11 r .995 s -.002 b anemone ] do
24 : anemone-begin ( -- ) [ 196 hue 0.8324 sat 1 b anemone ] do ;
26 ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
30 { -60 140 -120 140 } >viewport
32 [ anemone-begin ] >start-shape ;
34 : run ( -- ) [ init ] cfdg-window. ;