kopia lustrzana https://github.com/villares/sketch-a-day
main
rodzic
3177890c37
commit
37de863d61
Plik binarny nie jest wyświetlany.
|
Po Szerokość: | Wysokość: | Rozmiar: 11 KiB |
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
|
||||
import py5
|
||||
|
||||
def setup():
|
||||
py5.size(500, 500)
|
||||
py5.color_mode(py5.CMAP, py5.mpl_cmaps.VIRIDIS, 255)
|
||||
for r in range(100):
|
||||
y = py5.random_int(-50, 450)
|
||||
x = py5.random_int(-128, 255 + 128)
|
||||
for i in range(255):
|
||||
py5.stroke(i)
|
||||
py5.line(x + i, y, x + i, y + 100)
|
||||
py5.save('out.png')
|
||||
|
||||
py5.run_sketch(block=False)
|
||||
|
|
@ -26,6 +26,16 @@ If you appreciate what I have been doing, you may also support my artistic work,
|
|||
<!-- SKETCHES_START -->
|
||||
|
||||
|
||||
---
|
||||
|
||||
### sketch_2025_09_12
|
||||
|
||||

|
||||
|
||||
[sketch_2025_09_12](https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_09_12) [[py5](https://py5coding.org/)]
|
||||
|
||||
Using py5 #matplotlib #colormap integration: #viridis (https://www.youtube.com/watch?v=xAoljeRJ3lU)
|
||||
|
||||
---
|
||||
|
||||
### sketch_2025_09_11
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue