Skip to content

Instantly share code, notes, and snippets.

@nikhilm
Created November 22, 2010 13:30
Show Gist options
  • Save nikhilm/709970 to your computer and use it in GitHub Desktop.
Save nikhilm/709970 to your computer and use it in GitHub Desktop.
Draws a 'sun', coloured blue using ContextFreeArt
startshape sun
rule sun {
sq { }
36* { r 10 } sq { }
}
rule sq {
CIRCLE { hue 200 saturation 150 }
sq { x 1 y 1 s 0.8 brightness 0.3 }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment