I’ve been enjoying the “Mathographics” demonstrations by Robert Dixon after coming across a few examples in the pages of Format magazine.
I thought this would also be a fun excuse to learn about the nifty
BLITZ command in SAM BASIC.
In order to speed things along, I wondered if it would be possible to build the string “manually” instead of actually running all the drawing commands and using
RECORD TO. The Complete Guide to SAM BASIC suggests it’s just a matter of data and control codes but after looking at the stored bytes that doesn’t seem to be the whole story!
LENGTH(0,anim$) is very handy, but I can’t quite tell how the coordinate bytes are stored, and the code for
PLOT (for example) seems to vary depending on its position within the string.
Is this documented anywhere? Seems likely there’s a Format article out there somewhere that will explain it, but if so I haven’t found it yet! Any ideas? (And do you reckon it would actually be faster?)