digital literacy for everyone


[lit]

[generate-title]

[lit] originally written for pavum, a fig replica project, this fig program runs unmodified in pavum 0.8 [fig] python #### license: creative commons cc0 1.0 (public domain) #### http://creativecommons.org/publicdomain/zero/1.0/ fig function exit p now 0 fig python def exit(p): exec("if p > 3.14159:\n p = raw_input() ; quit()") fig p 0 minus 3.14159 while now = p p = now plus 0.1 x = p cos times 15 plus 250 int y = p sin times 15 plus 250 int v = p cos times 10 plus 250 int q = p sin times 10 plus 250 int var line x y v q 2 now exit p wend
home: [lit]https://codeinfig.neocities.org[lit]