Skip to content

Instantly share code, notes, and snippets.

Avatar

John Watkinson pents90

View GitHub Profile
@pents90
pents90 / trigAliasing.py
Created Feb 24, 2016
Drawbot animation that takes advantage of the strange aliasing effects of quantized trigonometric functions. The result is here: https://twitter.com/pents90/status/701557854147362817
View trigAliasing.py
# 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)