Welcome! My name is Alexandre Villares and since January, 2018 I have been coding sketches everyday, publishing the source code in the same repository that stores this page, github.com/villares/sketch-a-day. You can follow this project on Mastodon at pynews.com.br/@villares.
The results are mostly tentative, exploratory, and I don’t feel like they need to be relevant or meaningful on any particular day. The everyday practice leads to the emergence of ideas that I consider interesting, worthy of further exploration. Some of those have been added to selected work, this collection itself became valuable for me, and it is my pleasure to share it with anyone willing to explore coding as a creative and expressive medium.
Please do not hesitate to contact me regarding licenses to use my work, teaching opportunities, consulting or other projects. Moreover, I kindly invite you to subscribe to my newsletter, [sketch-mail - on pause]. If you appreciate what I have been doing, you may support my artistic work, research and open educational resources I publish on-line using the Brazilan PIX key at 46c37783-5edb-4f1c-b3a8-1309db11488c
, PayPal or gumroad.com/villares.
Here are listed some of the tools I have been using:
- [py5] A new Processing Java + Python 3 amazing tool
- [pyp5js] initially a Python to p5js trancriptor, now a pyodide + p5js tool
- [pyscript] A new Python in the browser tool.
- [Py.Processing] Processing Python mode
- [Processing Java Processing Java or "standard" mode
- [p5.js] JavaScript library from the Processing Foundation
- [shoebot] Generate 2D vector graphics with Python
- [FreeCAD] A wonderful 3D modeling tool, CAD & more, Python infused.
- [p5py] A Python 3 implementation of Processing ideas (no Java needed)
- [flat] A generative infrastructure library for Python (via Allison Parrish's Bezmerizing)
- [VPython] Python + glowscript gives you 3D on the browser
- [PySimpleGUI] Python GUIs for Humans
2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018
I'm happy with this, I converted yesterday's sketch to an OO strategy and I could solve my "parent angle alignment" wishes.
the true May 17th's sketch
#PyConUS I made this during my tutorial :)
40 different ways to divide a square using points from a 3x3 grid.
WIP on "partitioning"
WIP
Revisitando uma ideia de sketch de 2018 inspirado em um sketch de manoloide (Manuel Gamboa Naom)
Formas básicas, preenchimento, traço e interação usando draw(). Esse sketch do dia é bem bobo, mas o codigo anotado vira um quebra-cabeças de Parsons em https://abav.lugaralgum.com/faded-parsons-visual
#pymunk
#pymunk
#pymunk experiments... trying to extend pymunk.Body with a DrawableBody class (instead of monkeypatching pymunk.shape.Poly & etc.)
#Numpy
#pymunk
#DebugAesthetics
40 hexágonos brancos a partir de uma grande de 3x3 pontos. Em branco em quadrados pretos, dispostos em uma grade de 8 colunas e 5 linhas em um fundo azul.
All the 125 possible not self-intersecting polygons form a 3 x 3 grid of points (without rotations and translations).
Success! All the possible simple quadrilaterals from a 3 x 3 grid of points. Yesterday I had broken my hashing function that made it possible to eliminate rotations (it is possible to eliminate reflections too, but I like to have them)
still WIP, my translation/rotation elimination strategy didn't work (so turned it off on this output)
WIP ... hard to debug
Fiddling with https://github.com/Botffy/polyskel/tree/master
#scikitgeometry #skgeom
#OpenSimplexNoise #Numpy
the red text encodes the neighbours state
WIP
for facet in bs:
with py5.begin_shape(py5.LINES):
py5.vertices(vs[v] for v in itertools.chain(*facet))
Now using #shapely as suggested by @py5coding@fosstodon.org :)
circle and line segment collision, based on: http://www.jeffreythompson.org/collision-detection/line-circle.php point_circle
rect collisions
Still capture of anolher animated gesture experiment
Another animated mouse gesture experiment
Another animated mouse gesture experiment
Another animated mouse gesture experiment
Another animated mouse gesture experiment
Sorru, no music.
#genuary30 just porting ad using a Processing shader example
#genuary29 using a 3D sdf based mesh library
#genuary27 the gif degraded the color gradients :(
#genuary26 Inspired by deconbatch's "Poor man's Diffusion Limited Aggregation" Istead of calculantig costly distance, I'm reading a pixel from the canvas and seeing if it falls in the "black halo". I started not showing the halo, but changed my mind.
#genuary25
not engough energy for #genuary24 :(
#genuary23
#genuary22
#genuary21 #LibreTranslatePy #LibreTranslate
#genuary20 with shapely
#genuary19 Variation of an early flocking experiment
#genuary18 Bauhaus (inspired by Albers)
Badly done #genuray17
#genuary16
#genuary15 Physics (using pymunk)
#genuary14
#genuary13
#genuary12 "lava lamp" OpenSimplexNoise
#genuary11 inspired by Anni Albers
#genuary10 ASCII
#genuary9
#genuary8 Double-pendulum simulation based on pygame code by Bryan Brickman
#genuary7 progress bar
#genuary6 screensaver (based on earlier Processing sketches for "tweetprocessing")
#genuary5 d'aprés Vera Molnar "interruptions" (https://collections.vam.ac.uk/item/O1193775/interruptions-drawing-vera-molnar/)
#genuary4 pixels
#genuary3 droste
#genuary2 no palette
#genuary1 #genuary2024 lots of particles
2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018
The sketch-a-day project, images and code repository, by Alexandre B A Villares are licensed under Attribution-NonCommercial-NoDerivatives 4.0 International , except if marked/attributed otherwise in a file or code section. Please contact for licensing questions.