This profile is from a federated server and may be incomplete. Browse more on the original instance.
Tried to make a simple as "Can I draw some triangles with rounded corners" and it was more complex than I imagined. Each one was drawn on a separate graphics layer and merged back to the main canvas with an alpha modifying tint, in order to avoid the stroke and fill from overlapping. Add in some boundary checking and cold medicine fog, and this took a lot longer than expected
semi transparent triangles of yellow, orange, green, and red, and pointing in one of the 4 cardinal directions and overlapping. New colors are created where they merge
semi transparent triangles of dark blue and tan, and orange pointing in one of the 4 cardinal directions and overlapping.
A dense pattern of triangles made up mostly of purple brown, and dark green overlapping and blending to form other colors
Been a super stressful few weeks, but I've had this #CreativeCoding sketch in #py5 running in the background of my file server generating hundreds of images. It gave me something to look forward to seeing the results at at the end of each day.
Tonight I sorted through the images and picked out a few of my favorites
#py5 release update: I've only written about 20% of the new feature documentation needed for the next release, so I'm way behind where I wanted to be by this date. Bear with me, I'll be doing a lot of writing this weekend and will get this release out as soon as I can.
Some more #creativeCoding flow fields in #py5. These did not appear how I thought the math would make them appear, so I have some additional research and debugging to do. But I like how they look nonetheless.
These still take longer than I'd like to generate, but since they only use 1 thread, I generate 16 at the same time
Lines seem to flow in a curtain, going from red to yellow to green to a neon blue green before turning back to a dark blue green
This one looks like a red orange series of lightning except there are many many forks branching off of it
deep purple flows to green and blue green in a Y like shape
I have this #jpype issue that affects many Portuguese-speaking users (and I bet, other international users) that have non-ascii chars in their folder names scattered through their OSs.... https://github.com/jpype-project/jpype/issues/1111
This causes trouble for me personally because #py5 depends on jpype and my students have #ThonnyIDE frequently in a directory with non-ascii chars in its path, due to their usernames or on "Área de Trabalho" (desktop)... etc.
I have a new week in review. In this one I cover the #Amsterdam rental crisis, running, and #CreativeCoding with @py5coding Give it a read here:
And if you like, spread the word about the newsletter. Previous editions here: https://buttondown.email/natera/archive/ You can subscribe with RSS 😉
Shipping software for other people to install and use is so hard. No wonder people learn how to deploy things on servers (which I also find so hard). Sigh...
This post was prompted by me having to write workaround instructions for students because a tool I use (and love) is installing the wrong "pinned" library version, so I have to ask the students to pre-install the library...
I'm enjoying improving my naive folder/image browser in #Python
Every time I explore #GUI making without a proper GUI library/framework, drawing directly on a window with #py5, I get something useful very quickly with lot's of control, but on the other hand, the code starts getting "complicated" quickly.
#PySimpleGUI is awesome for small forms/panels and, as the name implies, simple GUIs. I quickly got blocked by it for this use case. Maybe one day I'll learn #PyQt and "make the jump" to proper GUI building. But the initial complexity is daunting. I'm probably ignoring/overlooking the initial complexity of py5 too, because I'm so used to it and the subjacent #Processing way of doing things!
I really enjoyed making this sketch in #py5 as it gave me a chance to learn how to alter the shape of curves based on noise. I've done it before with lines, but curves considerably upped the complexity
First, finding the length of each curve segment, then finding each point along that curve, and then altering its position based on the curve tangent and noise,
I had a lot of fun, and learned quite a bit. That's what #creativeCoding is all about
A series of wavy and lines form an abstract shape that looks like billowing ribbon flowing through the screen. This one is more blue green and intersects over and over itself many times, like a jumbled star
A series of wavy and lines form an abstract shape that looks like billowing ribbon flowing through the screen. This one is light tan and very graceful in the way it flows and seems to create big loops around each point
A series of wavy and lines form an abstract shape that looks like billowing ribbon flowing through the screen. This one crosses over itself a few times, making the intersections dark and bold
Neue Experimente mit Py5: Ein Sketch – zwei (oder noch mehr) Fenster
Ich gebe es ja zu, ich stehe manchmal ein wenig auf dem Schlauch. So hat es bis gestern gedauert, bis ich herausgefunden hatte, wozu der Class Mode in Py5 eigentlich nützlich ist: Mit ihm kann man nämlich einen Sketch mit mehr als einem Fenster schreiben. https://kantel.github.io/posts/2023093002_py5_2windows/ #Py5 #Python #Processing #CreativeCoding #JupyterLabDesktop
Some #CreativeCoding for this evening in #py5. Points are generated around the screen via a random walk, and then connected with curves altering the color and the blend mode as it progresses through the curves
Waldbrandsimulation in Python (Py5) – Stage 1
Ich habe es getan: Ich habe mir die hier vorgestellte Waldbrand-Simulation von Al Sweigart und meine eigene, in Processing.py implementierte Version geschnappt und daraus eine – wie ich hoffe – verbesserte Fassung in Py5 programmiert. https://kantel.github.io/posts/2023092301_forestfire_sim_1/ #Python #Py5 #Processing #Simulation