kopia lustrzana https://github.com/villares/sketch-a-day
5gif
rodzic
f9b2c5d781
commit
8f2ecdb8f6
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 2.9 MiB |
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 51 KiB |
|
@ -24,7 +24,7 @@ def setup():
|
|||
tri = tri.difference(hole)
|
||||
py5.no_stroke()
|
||||
shp = py5.convert_cached_shape(tri)
|
||||
animated_gif('out.gif', duration=0.066, frame_numbers=range(1, 361, 4))
|
||||
# animated_gif('out.gif', duration=0.066, frame_numbers=range(1, 361, 4))
|
||||
|
||||
|
||||
def draw():
|
||||
|
@ -43,6 +43,9 @@ def draw():
|
|||
py5.rotate_x(py5.random_choice(ra) + a)
|
||||
py5.rotate_y(py5.random_choice(ra) + a)
|
||||
py5.shape(shp, 0, 0)
|
||||
if f == 1:
|
||||
py5.save('static.gif')
|
||||
|
||||
|
||||
def key_pressed():
|
||||
py5.save(__file__[:-2] + 'png')
|
||||
|
|
|
@ -27,8 +27,9 @@ If you appreciate what I have been doing, you may also support my artistic work,
|
|||
|
||||

|
||||
|
||||
[sketch_2025_01_05](https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_01_05) [[py5](https://py5coding.org/)]
|
||||
[animation](https://raw.githubusercontent.com/villares/sketch-a-day/main/2025/sketch_2025_01_05/out.gif)
|
||||
|
||||
[sketch_2025_01_05](https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_01_05) [[py5](https://py5coding.org/)]
|
||||
|
||||
|
||||
---
|
||||
|
|
Ładowanie…
Reference in New Issue