digital literacy for everyone


[lit]

[generate-title]

[lit] fig is a multi-purpose educational language-- originally designed to offer 16 colours in the term window or vt, with a compatible 16-colour palette in a graphics window. [img]https://ia601501.us.archive.org/17/items/fig_textmode_screencaps/fltext.fig.png[img] [fig] #### license: creative commons cc0 1.0 (public domain) #### http://creativecommons.org/publicdomain/zero/1.0/ proginf "floral 2017 mn" textmode for fl 1 15 1 rf randint 5 10 ## radius sf rf divby 2 int ## range of radius change xmin rf plus sf xmax xmin times -1 plus 100 ymin rf plus sf ymax ymin times -1 plus 60 pc randint 5 9 ## petal count xc randint xmin xmax ## horiz location yc randint ymin ymax ## vert location cb randint 9 14 for p -3.14159 3.14159 0.00076698974609375 # 3.14159 / 2**12 r p times pc sin times sf plus rf plus 2 x p cos times r plus xc int y p sin times r plus yc int now line x y xc yc 15 next for p -3.14159 3.14159 0.00076698974609375 # 3.14159 / 2**12 r p times pc sin times sf plus rf x p cos times r plus xc int y p sin times r plus yc int now line x y xc yc cb next next now lineinput
fig main page: [url]https://codeinfig.neocities.org/fig/index.html[url] home: [lit]https://codeinfig.neocities.org[lit]