Alexandre B A Villares 2021-01-22 09:52:50 -03:00
commit d040241f3f
3 zmienionych plików z 35 dodań i 0 usunięć

Plik binarny nie jest wyświetlany.

Po

Szerokość:  |  Wysokość:  |  Rozmiar: 4.2 MiB

Wyświetl plik

@ -0,0 +1,28 @@
def setup():
size(500, 500)
frameRate(5)
def draw():
background(240)
noFill()
stroke(0, 64)
f(250)
def f(x):
# push()
DRAW(x)
if x > 1:
f(1 * x / 4)
f(2 * x / 4)
f(3 * x / 4)
# pop()
def DRAW(x):
triangle(0, 0,
x, 0,
x, x)
translate(x, x)
rotate(radians(frameCount))

Wyświetl plik

@ -24,6 +24,13 @@ Here are listed some of the tools I have been using:
## [2018](2018.md) | [2019](2019.md) | [2020](2020.md) | 2021
-
---
![sketch_2021_01_21a](2021/sketch_2021_01_21a/sketch_2021_01_21a.gif)
[sketch_2021_01_21a](https://github.com/villares/sketch-a-day/tree/master/2021/sketch_2021_01_21a) [[Py.Processing](https://villares.github.io/como-instalar-o-processing-modo-python/index-EN)]
---
![sketch_2021_01_20a](2021/sketch_2021_01_20a/sketch_2021_01_20a.png)