Skip to content

Instantly share code, notes, and snippets.

View pents90's full-sized avatar

John Watkinson pents90

View GitHub Profile
@pents90
pents90 / trigAliasing.py
Created February 24, 2016 22:44
Drawbot animation that takes advantage of the strange aliasing effects of quantized trigonometric functions. The result is here: https://twitter.com/pents90/status/701557854147362817
# DrawBot
import math;
SIZE = 512
FRAMES = 120
STEP = 8
size(SIZE,SIZE)
for t in xrange(0, FRAMES):
fill(0,0,0)
rect(0,0,SIZE,SIZE)