kopia lustrzana https://github.com/villares/sketch-a-day
rename 2020_12_18c (remove _)
rodzic
90a6d5f6fc
commit
c5891664d2
|
Przed Szerokość: | Wysokość: | Rozmiar: 1.8 MiB Po Szerokość: | Wysokość: | Rozmiar: 1.8 MiB |
|
|
@ -1,7 +1,7 @@
|
|||
from villares import ubuntu_jogl_fix
|
||||
from villares.gif_export import gif_export
|
||||
from villares import ubuntu_jogl_fix # you probably won't need thi
|
||||
# from villares.gif_export import gif_export
|
||||
|
||||
add_library('gifAnimation')
|
||||
# add_library('gifAnimation')
|
||||
|
||||
|
||||
def setup():
|
||||
|
|
@ -21,17 +21,16 @@ def draw():
|
|||
translate(width / 2, height / 2, 0)
|
||||
rotateX(QUARTER_PI * (1 + cos(f + PI))/ 2 )
|
||||
rotateZ(QUARTER_PI * (1 + cos(f + PI)) / 2)
|
||||
# rotateX(QUARTER_PI)
|
||||
# rotateZ(QUARTER_PI)
|
||||
draw_grid(grid)
|
||||
if frameCount % 2:
|
||||
gif_export(GifMaker, "a", finish=False, delay=170)
|
||||
if f >= TWO_PI:
|
||||
# noSmooth()
|
||||
gif_export(GifMaker, "a", finish=False)
|
||||
gif_export(GifMaker, "a", finish=False)
|
||||
gif_export(GifMaker, "a", finish=False)
|
||||
exit()
|
||||
|
||||
# if frameCount % 2:
|
||||
# gif_export(GifMaker, "a", finish=False, delay=170)
|
||||
# if f >= TWO_PI:
|
||||
# # noSmooth()
|
||||
# gif_export(GifMaker, "a", finish=False)
|
||||
# gif_export(GifMaker, "a", finish=False)
|
||||
# gif_export(GifMaker, "a", finish=False)
|
||||
# exit()
|
||||
|
||||
def keyPressed():
|
||||
redraw()
|
||||
|
|
@ -30,11 +30,13 @@ Here are listed some of the tools I have been using:
|
|||
|
||||
[sketch_2020_12_19c_recursive_grid](https://github.com/villares/sketch-a-day/tree/master/2020/sketch_2020_12_19c_recursive_grid) [[Py.Processing](https://villares.github.io/como-instalar-o-processing-modo-python/index-EN)]
|
||||
|
||||
sketch_2020_12_20 is kind of "wrong" (my merge cell function is broken) but I like it "wrong".
|
||||
|
||||
---
|
||||
|
||||

|
||||

|
||||
|
||||
[sketch_2020_12_18c_recursive_grid_](https://github.com/villares/sketch-a-day/tree/master/2020/sketch_2020_12_18c_recursive_grid_) [[Py.Processing](https://villares.github.io/como-instalar-o-processing-modo-python/index-EN)]
|
||||
[sketch_2020_12_18c_recursive_grid](https://github.com/villares/sketch-a-day/tree/master/2020/sketch_2020_12_18c_recursive_grid) [[Py.Processing](https://villares.github.io/como-instalar-o-processing-modo-python/index-EN)]
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue