digital literacy for everyone


[lit]

[generate-title]

[lit] [figplus] #### license: creative commons cc0 1.0 (public domain) #### http://creativecommons.org/publicdomain/zero/1.0/ proginf = "posterise 0.1, mar 2019 mn" filepath = "demo.png" imgsize codimgsize filepath width codget imgsize "w" height codget imgsize "h" now winsize width height pic imgset 0 0 filepath now display cx2 width minus 1 cy2 height minus 1 for cx 0 cx2 1 for cy 0 cy2 1 now codrgbget cx cy r codget now "r" divby 64 int times 64 g codget now "g" divby 64 int times 64 b codget now "b" divby 64 int times 64 now rgbset 15 r g b now pset cx cy 15 next now display sleep .005 next now display lineinput
back to figplus page: [lit]https://codeinfig.neocities.org/figplus/[lit] home: [lit]https://codeinfig.neocities.org[lit]