|Lephe 8c3341d09f||5 months ago|
|doc||5 months ago|
|fx92||5 months ago|
|tests||5 months ago|
|.gitignore||6 months ago|
|README.md||5 months ago|
|fx92.py||5 months ago|
|tests.py||5 months ago|
This is an alternate imlementation of the fx-92 SC+ Algorithmic application. It interprets programs read from QR code URLs or text files, and renders images using the SDL.
pip3 install --user PySDL2)
To run programs, execute
fx92.py and specify an input file:
./fx92.py [-s|-u] <input file> [options...]
goto 12,35), specify
-s(this is the default).
The input can also be set to
-, in which case the interpreter reads from
standard input. Typical use case is for URLs:
echo -n "F908313200333500" | ./fx92.py -u -
--scale <n>lets you set the (integer) scaling ratio of the output.
--save <bmp>will save a screenshot of the output to the designated file.
--quietwill “hide” the window while executing. (At the moment the window is still shown, but closed immediately, due to SDL subtleties.)
--stream <dir>will stream window frames as a series of bitmap images to the specified directory. Use your favorite tool to make a GIF.
A few units tests are provided. Run
tests.py to execute them.