kopia lustrzana https://github.com/villares/sketch-a-day
main
rodzic
3484ce2a58
commit
e56a830682
Plik binarny nie jest wyświetlany.
Po Szerokość: | Wysokość: | Rozmiar: 74 KiB |
|
@ -0,0 +1,15 @@
|
|||
# check out https://py5coding.org
|
||||
|
||||
from collections import Counter
|
||||
|
||||
import py5
|
||||
|
||||
def setup():
|
||||
py5.size(500, 500)
|
||||
r = lambda : 250 + py5.random_gaussian() * 50
|
||||
c = Counter(int(r()) for _ in range(40_000))
|
||||
for x, h, in c.items():
|
||||
py5.line(x, 450, x, 450 - h)
|
||||
|
||||
py5.run_sketch()
|
||||
|
|
@ -30,6 +30,16 @@ Here are listed some of the tools I have been using more recently:
|
|||
2024 \| [<b>2023</b>](2023.md) \| [<b>2022</b>](2022.md) \| [<b>2021</b>](2021.md) \| [<b>2020</b>](2020.md) \| [<b>2019</b>](2019.md) \| [<b>2018</b>](2018.md)
|
||||
|
||||
|
||||
---
|
||||
|
||||
### sketch_2024_10_26
|
||||
|
||||
![sketch_2024_10_26](https://raw.githubusercontent.com/villares/sketch-a-day/main/2024/sketch_2024_10_26/sketch_2024_10_26.png)
|
||||
|
||||
[sketch_2024_10_26](https://github.com/villares/sketch-a-day/tree/main/2024/sketch_2024_10_26) [[py5](https://py5coding.org/)]
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
### sketch_2024_10_25
|
||||
|
|
Ładowanie…
Reference in New Issue