diff --git a/2019/sketch_191206a/1336.png b/2019/sketch_191206a/1336.png new file mode 100644 index 00000000..2b883814 Binary files /dev/null and b/2019/sketch_191206a/1336.png differ diff --git a/2019/sketch_191206a/1392.png b/2019/sketch_191206a/1392.png new file mode 100644 index 00000000..67d079ee Binary files /dev/null and b/2019/sketch_191206a/1392.png differ diff --git a/2019/sketch_191206a/1458.png b/2019/sketch_191206a/1458.png new file mode 100644 index 00000000..60091d5b Binary files /dev/null and b/2019/sketch_191206a/1458.png differ diff --git a/2019/sketch_191206a/78087.png b/2019/sketch_191206a/78087.png new file mode 100644 index 00000000..35b42e26 Binary files /dev/null and b/2019/sketch_191206a/78087.png differ diff --git a/2019/sketch_191206a/sketch_191206a.pyde b/2019/sketch_191206a/sketch_191206a.pyde index 189a8af4..b18690c1 100644 --- a/2019/sketch_191206a/sketch_191206a.pyde +++ b/2019/sketch_191206a/sketch_191206a.pyde @@ -18,13 +18,13 @@ def sorteia_pontos(): return pontos def draw(): - # oc = offset_curva + oc = offset_curva background(240, 250, 250) for i in range(5): pts = lerp_pts(pontos, novos_pontos, i / 5.) - # oc = lerp(offset_curva, novo_offset_curva, i / 5.) - draw_pontos(pts, offset_curva, handle=not i) + oc = lerp(offset_curva, novo_offset_curva, i / 5.) + draw_pontos(pts, oc, handle=not i) def draw_pontos(pontos, offset, handle=False): @@ -86,6 +86,6 @@ def mouseWheel(e): def keyPressed(): if key == ' ': - pontos[:] = sorteia_pontos() + pontos[:] = novos_pontos[:] = sorteia_pontos() if key == 's': saveFrame("####.png")