one visual idea a day
Hi! I’m Alexandre, welcome!
I try to make one small program (sketch) a day, and I usually put the code here: github.com/villares/sketch-a-day.
You may also support my artistic work, open teaching resources and research with donations!
Back with cylinders… and contiunously colored polys
Back with cylinders… and randomly colored polys
Intersections are hard!
It should go without saying but sketch-a-day is about work in progress. I have yet to find ways of showing things I really think grew into something more consistent (even if I quite like some of the results here, there is a lot of unfinished stuff)
Back to 15 with colors from 16
Tried a 15 degree twist
Tube-boxes (added cuboids - added holes)
- 1288 (half-total) combinations of 2-bars on a 3x3 grid
- Number of possible bars on a 2x2 grid: 12
- Number of 2-bar combinations: 66
- Cols: 11 Rows: 6
- Interpolating 6 intermediary bars (total of 8 bars drawn)
- Overlapping slightly the combinations
More explorations of inerpolated combinations in grids
- Number of possible bars on a 2x2 grid: 12
- Number of 3-bar combinations: 220
- Cols: 20 Rows: 11
- Interpolating 2 intermediares each bar pair
- First attempt at a 3D version of 190628a (not a very good gif, mp4 here)
- Number of possible triangles on a 3x3 grid: 76
- Number of combinations of 2 triangles (start, end): 2850
- Interpolating 2 intermediary triangles
- the usual 3D transformation
- Changed the radius inversion rule for a static drawing (the moving version would make the radius zero on aligned vertices).
- Some aligned vertices visually disappear so different point circuits still produce equivalent results.
- I tried to discard point circuits that are rotated versions of each other (and so visually equivalent)
- Adding some combinatorics… first try.
- 3312 non-crossing poly permutations with 6 points on a 3 x 3 grid
- Non-intersecting polys (as end-states)
- This version defines the radii acording to the area formed by the vertex point and its neighbours.
- Fixed a bug that prevented drawing the arc-tangents with vertically aligned points!
- Testing Video Export library
- Changing vertex type/radius
- All points now have a third field (for radius or type). That broke almost everything, and I think I fixed most of it. Including a naughty fix for the naughty vertex ordering method (I’m storing the third field in a dict, and then getting it back after sorting, with a disct compreheension!)
- lots of refactoring
- round corner proof of concept
Back to the Poly Editor…
Some ideas for “Silly Type Framework”
My arc-arc tangent augmented poly now can take negative radii (and it is Bezier based, so it now is a PShape and can be filled)
Using new bars, with much better fill, thanks to my Bezier arc-approximation.
- Number of possible lines: 12
- Number of combinations: 220
Did some cleanup of yesterday’s code and updated my polygon approximation of an arc, to use it with the filleted and arc-augmented polylines.
After many months, I took again my Bezier arc-approximation studies and finished integrating it with two “polylines” ideas:
- A filleted polygon
- An arc-augmented polygon (imagine round pegs, of arbitrary radius, on every vertex of a polygon, and a line that goes round them)
- Number of possible triangles: 76
- Number of combinations of 2 triangles: 2850
- Cols: 75 Rows: 38 Visible grid: 2850
- Number of possible triangles: 84 (including “colapsed triangles” with colinear points)
- 2 triangles the number of combinations is: 3486
- Number of possible triangles: 84
- Taking 3 points twice the number of combinations is: 3486
- But I’m drawing “bars” using just 2 of the 3 points, so I have lots of repeated “combos” on this one
- Cols: 38 Rows: 31 Visible grid: 1178
- Number of possible lines on a 3x3: 40
- Number of combinations: 91390
- Cols: 19 Rows: 10 Visible grid: 190
- Number of bars on 2x2 grid: 12
- Number of permutations (taking 3 bars): 1320
- Cols: 20 Rows: 11 Visible grid: 220 (x6)
- Number of long lines on a 4x4 grid: 62
- Number of permutations (taking 2 lines): 3782
- Cols: 61 Rows: 62 Visible grid: 3782
- Number of possible long lines on 4x4 grid: 22
- Number of combinations: 7315
- Cols: 133 Lines: 55 Visible grid: 7315
- Variations: isolated/merged color/b&w ordered/shuffled
- Number of lines on a 3x3 grid: 24
- Number of combinations: 10626
- Cols: 68 Lines: 45 Visible grid: 3060 (scrolling)
Shuffle of 125970 combinations…
More experiments (check the code folder for other GIFs)
Also… internation day against homophobia, transphobia and biphobia.
56 combinations of 8 points, 3 at a time (and some 8 possible radius to the enclonsing rounded polys)
Only 3 points now
A grid based on sketch_190512a/ sketch_190401b
Another take, thinking of color separation for printing ;)
A rework of sketch_190125a
A rework of sketch_190401b
Ugly but works :)
sketch_190508a [code for Py.Processing]
Back unfolding solids… 2D faces missing.
sketch_190507a [code for pyp5js]
Old sketch tweaked to port tomorrow.
Mixing in my var_bar() circle/circle tangent shape
Now based on 4 quaternary digits (256 variations). Each digit can be 0, 1, 2, or 3. And zero means no shape drawn for that layer/position. Still influenced by @arjanvandermeij :)
Inspired by “trit” grids of balanced ternary digits from @arjanvandermeij (4 ternary digits -> 81 variations)
Now I drag any point, inclunding of holes, and remove points. TODO: Add points; Drag polys.
Object Oriented remake of the poly editor in progress, in order to have multiple polygons with multiple holes each.
This clean up and tweak of studies of Design By Numbers alphabet designed by Peter Cho from last year will count as today’s sketch :)
Check out the other pieces, pixel and scaleable fonts I created here: http://github.com/villares/DesignByNumbers-alphabet
Some refactoring and coordinate annotations that I’ll use in my classes :)
Press space-bar to order outer_pts clockwise, and inner_pts anticlockwise (counterclockwise, in the US)
Back to the editor… dragging points.
Very simple 3D example
Let’s unfold some simple extrudes
Now we are talking! I’ve got the divided top right, brought back the tabs, and also found a bug on 190408a (and fixed it)…
major re-org, still broken…
Subdivided top! (not quite there yet…)
With glue tabs!
Now I can change the base proportions.
First unfold version ready!
Study for a “Terrain box” a paper surface “unit”.
A retake of sketch_190207a + work from sketch_190321 :)
Will stall sometimes…
as there is an unsafe while loop selecting pointing nodes… (also present on 190323)
Refactor and a not very good filling test
Deque collection for a dynamic history on Z
An graph much like the ones before this, but made invisible, is behind the (virtual) corners of this rounded poly.
Mais grapholia ;)
Removi parte do cÃ³digo para controle com potenciÃ´metros pois infelizmente a comunicaÃ§Ã£o serial estÃ¡ quebrada neste momento no Processing Modo Python :((
Retomando um sketch de grafos com 4 parÃ¢metros ajustaveis (via teclado ou potenciÃ´metros ligados em um Arduino)
“a” and “b” are Java and Python ports of a C# round corner.
Retake of sketch #57 180226 with the variable “bar” from yesterday.
Made this today, thinking about my new newsletter: [sketch-mail]