here's the source to sawtooth
it’s probably a mess because i wrote a single sketch for making a whole bunch of different types of things; it’s safe to ignore the drawX methods except for drawRadial and drawCircleWaves (the ones i used for this gif).
i’ve recently (one or two weeks ago) started keeping more exact track of the source for my pictures; feel free to ask for it!
for older pictures i probably have fiddled with things in the source since making them (and sometimes there’s random elements), so i can’t guarantee they’ll be exactly the same. but i should be able to come up with a reasonable facsimile if nothing else.