#LSystem
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_06_04 #Processing #Python #py5 #CreativeCoding
Alexandre B A Villares
I'm a technology and arts educator, here I'll mostly post my #py5 sketches and some #Python news, you may tag my main account @villares@ciberlandia.pt in your replies and I'll see them more readily.
Educador de tecnologias e artes, esta conta é mais para os meus desenhos... interaja comigo em @villares@ciberlandia.pt !
#SãoPaulo #Processing #Python #py5 #ForaBluetooth #CreativeCoding
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_08 #Processing #Python #py5 #CreativeCoding
202 closed loops made from 5 segments on a 3x3 grid of points.
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_13 #Processing #Python #py5 #CreativeCoding
322 combinations of 3 segments from 3x3 grid of points, avoiding rotations.
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_03_18 #Processing #Python #py5 #CreativeCoding
#numpy #complex
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_04_17 #Processing #Python #py5 #CreativeCoding
Great news! My friend Professor Claudio Esperança (who teaches at UFRJ) has added many "#py5 compatibility hacks" to his online #pyscript based #Py5Script IDE, I'm thrilled. It will be an upgrade on the much loved #pyp5js #pyodide editor I use in some classes. Now one can use more advanced stuff like #numpy :D
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_15 #Processing #Python #py5 #CreativeCoding
WIP
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_14 #Processing #Python #py5 #CreativeCoding
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_04_27 #Processing #Python #py5 #CreativeCoding
516 triangles on a 4x4 grid of points, avoiding duplicates with whole grid rotation, but not duplicates from translations (& possible rotations) of the triangles inside the grid.
Find the sketch-a-day archives and tip jar at: https://abav.lugaralgum.com/sketch-a-day
Code for this sketch at: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_03_08 #Processing #Python #py5 #CreativeCoding
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_26 #Processing #Python #py5 #CreativeCoding
Today my father would have been 91 years old.
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_03_27 #Processing #Python #py5 #CreativeCoding #shapely
#Arduino + #telemetrix + #rotaryEncoder testing...
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_30 #Processing #Python #py5 #CreativeCoding
57 closed loops made from 4 segments on a 3x3 grid of points.
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_12 #Processing #Python #py5 #CreativeCoding
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_27 #Processing #Python #py5 #CreativeCoding
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_07 #Processing #Python #py5 #CreativeCoding
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_06 #Processing #Python #py5 #CreativeCoding
inspired by @bitartbot@freeradical.zone
f(x,y) = ((((y % 9) * (~y)) & (-(x & x))) ^ (~((-y) ^ (-y)))) % 6
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_06_05 #Processing #Python #py5 #CreativeCoding
Everything looks a bit fishy and broken on these latest sketches, because changing the rendering sizes is changing the number of combos found, which it shouldn't :(
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_16 #Processing #Python #py5 #CreativeCoding
Sketch feito na última aula do curso para o MAM-SP... uma turma muito legal, foi um prazer.
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_04_14 #Processing #Python #py5 #CreativeCoding
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_04_16 #Processing #Python #py5 #CreativeCoding
#LSytem
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_06_03 #Processing #Python #py5 #CreativeCoding
261 combinations of 3 connected segments, on a 3x3 grid of points. Removing rotations and translations. #itertools
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_10 #Processing #Python #py5 #CreativeCoding
More slider experiments...
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_06_01 #Processing #Python #py5 #CreativeCoding
228 pairs of segments from a 3x3 grid that share a point *and* don't align or overlap.
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_03_16 #Processing #Python #py5 #CreativeCoding
I think I'm going to revisit my silly Slider class... I can use ControlP5 with py5 but for some reason I always want to fiddle with this myself. At some point I had a Frankenstein Sliders+Arduino+Pots hybrid...
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_31 #Processing #Python #py5 #CreativeCoding
#Arduino + #telemetrix + #rotaryEncoder testing...
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_29 #Processing #Python #py5 #CreativeCoding
WIP: Failed first attempt at rendering of a dictionary that shows one of the 76 triangles that can be drawn on a 3x3 grid, and then all the other triangles that do not overlapp with it.
Find the sketch-a-day archives and tip jar at: https://abav.lugaralgum.com/sketch-a-day
Code for this sketch at: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_02_21 #Processing #Python #py5 #CreativeCoding
#SãoPaulo map made with #geopandas + #folium + social vulnerabilirty index data from GeoSampa. A heavy but interactive version at https://abav.lugaralgum.com/sketch-a-day/2026/sketch_2026_06_02/mapa.html
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_06_02 #Python
Inpired by Wiggly Paint (https://internet-janitor.itch.io/wigglypaint)
- See also https://beyondloom.com/blog/onwigglypaint.html
Find the sketch-a-day archives and tip jar at: https://abav.lugaralgum.com/sketch-a-day
Code for this sketch at: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_03_09 #Processing #Python #py5 #CreativeCoding
#shapely
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_04_01 #Processing #Python #py5 #CreativeCoding
Experimenting with #telemetrix, a Python tool for serial comms with an #Arduino board (replacing #pyfirmata). Trying out rotary encoders...
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_28 #Processing #Python #py5 #CreativeCoding
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_24 #Processing #Python #py5 #CreativeCoding
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_25 #Processing #Python #py5 #CreativeCoding
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_11 #Processing #Python #py5 #CreativeCoding
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_09 #Processing #Python #py5 #CreativeCoding
The sketch-a-day archives and tip jar are at: https://abav.lugaralgum.com/sketch-a-day Code for this: https://github.com/villares/sketch-a-day/tree/main/2026/sketch_2026_05_05 #Processing #Python #py5 #CreativeCoding