Trending
codeismycanvas's Avatar

codeismycanvas

@codeismycanvas.universeodon.com.ap.brid.gy

I write code that makes pretty pictures. #mathart #fractal #generativeart #python #albuquerque #newmexico #sandiaheightsartists [bridged from https://universeodon.com/@codeismycanvas on the fediverse by https://fed.brid.gy/ ]

126
Followers
0
Following
68
Posts
02.02.2025
Joined
Posts Following

Latest posts by codeismycanvas @codeismycanvas.universeodon.com.ap.brid.gy

Inside of a Lemur Pro laptop, with the battery removed. The old battery is sitting below the open laptop, where several pieces of tape and foam that used to hold it in remain stuck on. A couple of ribbon cables pass under the area where the battery was.

Inside of a Lemur Pro laptop, with the battery removed. The old battery is sitting below the open laptop, where several pieces of tape and foam that used to hold it in remain stuck on. A couple of ribbon cables pass under the area where the battery was.

Inside of the laptop with the new battery installed. The new battery cable is a bit longer than the old one, so has to bend around a bit to meet the connector.

Inside of the laptop with the new battery installed. The new battery cable is a bit longer than the old one, so has to bend around a bit to meet the connector.

After nearly 2.5 years of daily use, the battery in my #system76 Lemur Pro (lemp12) was running about 50% capacity, so I decided it was time to replace. I ordered a replacement directly from System76, and while it cost a bit more, I'm more confident it's not […]

[Original post on universeodon.com]

14.03.2026 15:40 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Plot of a polar equation that forms a sunburst image. 12 main long sun rays each with shorter rays on both sides, fading from red near the center to yellow on the outside.

Plot of a polar equation that forms a sunburst image. 12 main long sun rays each with shorter rays on both sides, fading from red near the center to yellow on the outside.

It's gonna be a bright, bright r = [1/2 + k|cos(6ΞΈ)/2| / (1 + 4sinΒ²(24ΞΈ)) - sin(48ΞΈ)/50]; 0 < k < 2 day!

(aka fun with polar equations)

#polarequation #polarcoordinates #mathart #sunshine

26.02.2026 02:09 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Abstract fractal image. A spider-web-like shape. Eight orange wavy lines radiate from the center, with red, blue, and green wavy shapes behind.

Abstract fractal image. A spider-web-like shape. Eight orange wavy lines radiate from the center, with red, blue, and green wavy shapes behind.

Sunday Fractal

#fractal #mathart #creativecoding

22.02.2026 21:24 πŸ‘ 4 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Original post on universeodon.com

Manager on Tuesday: For this week's department meeting, we have a guest speaker to talk about boosting your group creativity through brainstorming.

Team on Wednesday: We need to come up with a good name for this new thing we're working on.

Manager: Did you try asking AI?

True story. *sigh* […]

19.02.2026 23:54 πŸ‘ 0 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0
Screenshot of the Konsole terminal emulator running an interactive Python session demonstrating sixelmath. Two lines of Python code are entered:

    from sixelmath import sixelmath
    sixelmath(r'\oiint_S E \cdot dA = \frac{Q}{\epsilon_0}')

The output shows the rendered equation of Gauss's Law.

Screenshot of the Konsole terminal emulator running an interactive Python session demonstrating sixelmath. Two lines of Python code are entered: from sixelmath import sixelmath sixelmath(r'\oiint_S E \cdot dA = \frac{Q}{\epsilon_0}') The output shows the rendered equation of Gauss's Law.

Screenshot of the Konsole terminal emulator running an interactive Python session demonstrating use of sixelmath with sympy. Three lines of code calculate an integral:

    import sympy
    x = sympy.Symbol('x')
    result = sympy.integrate(x**2 * sympy.exp(x) * sympy.cos(x), x)

The standard result is displayed as:

    x**2*exp(x)*sin(x)/2 + x**2*exp(x)*cos(x)/2 - x*exp(x)*sin(x) + exp(x)*sin(x)/2 - exp(x)*cos(x)/2

Then, sixelmath is imported and the result displayed again

    from sixelmath import sympysixel
    result

Which shows the same result, this time rendered in regular mathematical notation.

Screenshot of the Konsole terminal emulator running an interactive Python session demonstrating use of sixelmath with sympy. Three lines of code calculate an integral: import sympy x = sympy.Symbol('x') result = sympy.integrate(x**2 * sympy.exp(x) * sympy.cos(x), x) The standard result is displayed as: x**2*exp(x)*sin(x)/2 + x**2*exp(x)*cos(x)/2 - x*exp(x)*sin(x) + exp(x)*sin(x)/2 - exp(x)*cos(x)/2 Then, sixelmath is imported and the result displayed again from sixelmath import sympysixel result Which shows the same result, this time rendered in regular mathematical notation.

I made a little extension to my Python-based LaTeX math renderer so it can be used to draw equations and Sympy expressions directly in the terminal as sixel graphics. Install with `pip install sixelmath` and give it a try! (in a sixel-supported terminal, of […]

[Original post on universeodon.com]

07.02.2026 04:33 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

#genuary31 - Shaders. Here's a fractal animated using shaders. There is a single orbit trap along the imaginary axis, which swings left and right to make the animation. For the original WebGL-rendered version, go to […]

[Original post on universeodon.com]

31.01.2026 17:21 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Fractal image with a yellow-orange bug-like shape with purple curves behind.

Fractal image with a yellow-orange bug-like shape with purple curves behind.

#genuary30, It's Not a Bug, It's a Feature. Continuing the theme of fractal images that remind me of things - this one of course looks like a bug.

#genuary #genuary2026 #bug

31.01.2026 02:13 πŸ‘ 4 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Fractal image of a purple spiky ball with small green and blue rings surrounding it.

Fractal image of a purple spiky ball with small green and blue rings surrounding it.

For #genuary29, Genetic Evolution and Mutation, no genetic algorithms were used in this fractal, but it always reminds me of a virus, which involves genetic mutations...

#genuary #genuary2026 #fractal

30.01.2026 00:07 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
A Julia Set fractal in yellow and purple.

A Julia Set fractal in yellow and purple.

This #genuary28 image is made entirely of HTML `<div>` elements, drawn using a short JavaScript that calculates a Julia Set fractal. A screenshot of the page is shown in this post - for the original, go to […]

[Original post on universeodon.com]

29.01.2026 01:57 πŸ‘ 0 πŸ” 1 πŸ’¬ 1 πŸ“Œ 0
Fractal image: a green plant-like shape with red "berries" on a tan background.

Fractal image: a green plant-like shape with red "berries" on a tan background.

#genuary27 - Lifeform. This is another fractal with an organic look. It makes me think of some sort of plant encountered by the crew of the Enterprise in Star Trek.

#genuary #genuary2026 #fractal

28.01.2026 02:31 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
A pattern of tiled squares of different sizes and a full rainbow of randomly-placed slightly muted colors.

A pattern of tiled squares of different sizes and a full rainbow of randomly-placed slightly muted colors.

For #genuary26, Recursive Grid, I went with a pretty minimalist pattern where each square is subdivided into 4 smaller squares.

#genuary #genuary2026

27.01.2026 03:00 πŸ‘ 5 πŸ” 4 πŸ’¬ 0 πŸ“Œ 0
Fractal image: A yellow-green beanstalk-like vine twisting around itself over a blue background.

Fractal image: A yellow-green beanstalk-like vine twisting around itself over a blue background.

#genuary25 - Organic Geometry. My favorite fractals are the ones that appear organic, like this one that reminds me of a growing vine.

#genuary #genuary2026 #fractal #beanstalk

25.01.2026 19:57 πŸ‘ 1 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
A 20 by 20 grid of small squares, with random colors of the rainbow, each square slightly turned and skewed from its "perfect" orientation.

A 20 by 20 grid of small squares, with random colors of the rainbow, each square slightly turned and skewed from its "perfect" orientation.

#genuary24 - Perfectionist Nightmare. I explored several ideas for this one, where a regular grid has just a bit of randomness to make it slightly "off". The result reminds me of the tiles in my bathroom.

#genuary #genuary2026 #tiles

25.01.2026 00:38 πŸ‘ 4 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
A Mandelbrot Set fractal with blended orange, red, green, and blue patterns due to transparency of the orbit traps.

A Mandelbrot Set fractal with blended orange, red, green, and blue patterns due to transparency of the orbit traps.

The #genuary23 prompt is Transparency. Applying a transparency channel to a otherwise typical orbit trap fractal leads to some interesting effects. Might need to explore this one more later.

#genuary #genuary2026 #orbittrap #fractal

24.01.2026 01:45 πŸ‘ 3 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Three overlapping spirals, enclosed in a single circle, with three smaller circles filling the gaps.

Three overlapping spirals, enclosed in a single circle, with three smaller circles filling the gaps.

I've often been tempted to get a pen plotter, but haven't quite taken the plunge. For #genuary22 I did some experiments with overlapping Archimedean spirals, that could eventually be used with a pen-plotter. I find the spirals interesting since their radius […]

[Original post on universeodon.com]

22.01.2026 23:59 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
A grid of circles in red, blue, yellow, and green, where some circles have squared corners extending them to teardrop shapes.

A grid of circles in red, blue, yellow, and green, where some circles have squared corners extending them to teardrop shapes.

For #genuary21, "Bauhaus Poster", I attempted to reuse typical Bauhaus color theme and shapes, applying texture with SVG filters.

#genuary #genuary2026 #bauhaus #abstractart

22.01.2026 00:29 πŸ‘ 9 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0
A dark blue path on paper-texture background traces a complex curve.

A dark blue path on paper-texture background traces a complex curve.

This #genuary20 "One Line" artwork is made of a single line fractal.

#genuary #genuary2026 #linefractal

21.01.2026 00:50 πŸ‘ 5 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
A grid of yellow dots surrounded by swirling blue and pink lines.

A grid of yellow dots surrounded by swirling blue and pink lines.

For, #Genuary19, a 16 x 16 grid of points is iterated through the Mandelbrot fractal equation and the paths of the points traced with smooth curves.

#mandelbrot #genuary #genuary2026 #fractal

20.01.2026 00:47 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

For #genuary18, the prompt is an unexpected path that follows a very simple rule. My "simple" rule returns to the concept of "odious numbers": if ⌈xβ‹…yβŒ‰ is odious, turn 60 degrees counterclockwise. Otherwise, turn 60 degrees clockwise. Here, three paths with […]

[Original post on universeodon.com]

18.01.2026 15:19 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Interlocking purple and turquoise curves repeat in a regular tile pattern.

Interlocking purple and turquoise curves repeat in a regular tile pattern.

For #genuary17, this pattern uses Wallpaper Group pmg (22*), with tiles containing arbitrary Bezier curves.

#genuary #genuary2026 #genuary17 #wallpaper #tiling #bezier

17.01.2026 18:39 πŸ‘ 2 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Fractal imagery, an orange diamond grid on top of a swirling brown, blue, and green distorted swirling version of the same grid.

Fractal imagery, an orange diamond grid on top of a swirling brown, blue, and green distorted swirling version of the same grid.

Many fractals exhibit macro-scale order with micro-scale disorder, perfect for #genuary16 "Order and Disorder". The top layer is the most ordered, with entropy increasing as you go down.

#genuary #genuary2026 #fractal #mathart

17.01.2026 00:36 πŸ‘ 3 πŸ” 2 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

My #genuary15 "Invisible Object" animation is an experiment using SVG filters and animation effects.

#genuary #genuary2026 #svg #smil #shadow

16.01.2026 00:35 πŸ‘ 1 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
A hexagon filled with wandering black-and-white curves and circles filling the space.

A hexagon filled with wandering black-and-white curves and circles filling the space.

Today's #genuary prompt seemed perfect for a Truchet tiling image, where the curve perfectly fills the space.

#genuary2026 #genuary14 #truchet #hexagonal

15.01.2026 00:30 πŸ‘ 4 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Pencil-like drawing of a face.

Pencil-like drawing of a face.

Parametric equations used to generate the face. Each equation for x and y is a function of parameter t with various sine and cosine coefficients.

Parametric equations used to generate the face. Each equation for x and y is a function of parameter t with various sine and cosine coefficients.

My #genuary13 self portrait is defined entirely by parametric equations! Portrait in the first image, equations in the second. The equations were generated by tracing points from a photograph, then basically using an FFT algorithm to convert the coordinates […]

[Original post on universeodon.com]

14.01.2026 00:43 πŸ‘ 0 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Thin yellow and purple lines radiate from a central square, ending in small circles. The lines form the diagonal of faint thin gray rectangles.

Thin yellow and purple lines radiate from a central square, ending in small circles. The lines form the diagonal of faint thin gray rectangles.

This is probably an unexpected interpretation of #genuary12, "Boxes Only", but I like how it turned out. Thinking of different uses of the term "box" in mathematical contexts, somehow I recalled the Box-Muller transformation, named after George E. P. Box and […]

[Original post on universeodon.com]

12.01.2026 14:23 πŸ‘ 0 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
An image of made of python code written from to bottom, fading from purple to orange to yellow, each line along a random overlapping curve hanging from the top of the image like an upside-down fire.

An image of made of python code written from to bottom, fading from purple to orange to yellow, each line along a random overlapping curve hanging from the top of the image like an upside-down fire.

Very similar to my interpretation of last year's Genuary 3 "42 Lines of Code" (link below), this code is a "Quine" that outputs itself into a stylized image using SVG curves and gradients.

https://universeodon.com/@codeismycanvas/113765562968011769

#genuary #genuary2026 #genuary11 #quine #svg

11.01.2026 15:20 πŸ‘ 5 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Abstract image with a round medallion shape containing yellow-orange zigzag patterns against a blue textured background.

Abstract image with a round medallion shape containing yellow-orange zigzag patterns against a blue textured background.

For #genuary10, Polar Coordinates, here is a stylized plot of
r = 4 + ⌈θ/4 + 2cos(3.3ΞΈ)βŒ‰

#genuary #genuary2026 #genuary10 #polarcoordinates #ceilingfunction

10.01.2026 16:14 πŸ‘ 3 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
A cloud-filled sunset. The dimly-lit foreground has cholla cactus and juniper covered with a bit of fluffy snow. Faint city lights of Albuquerque are starting to appear just below the horizon line.

A cloud-filled sunset. The dimly-lit foreground has cholla cactus and juniper covered with a bit of fluffy snow. Faint city lights of Albuquerque are starting to appear just below the horizon line.

Snowy New Mexico Sunset.

#albuquerque #newmexico #sunset #snow

10.01.2026 01:53 πŸ‘ 4 πŸ” 5 πŸ’¬ 0 πŸ“Œ 0
Video thumbnail

For Genuary 9, a crazy automaton, I'm combining a cellular automaton with the concept of "odious numbers" I learned about during #mathober. Each cell is assigned one of 4 states, and if sum of states of 8 surrounding cells is an odious number, increment the […]

[Original post on universeodon.com]

10.01.2026 00:09 πŸ‘ 2 πŸ” 3 πŸ’¬ 0 πŸ“Œ 0
A cartoonish city skyline made from yellow rectangles in the foreground, green rectangles in the middle, and purple rectangles behind, each with black and yellow windows filling their area. A dark blue sky with scattered white dots for stars falls behind.

A cartoonish city skyline made from yellow rectangles in the foreground, green rectangles in the middle, and purple rectangles behind, each with black and yellow windows filling their area. A dark blue sky with scattered white dots for stars falls behind.

This is a (very slight) extension of last year's Genuary20 (Architecture) prompt, which I based on the skyline in the old QBasic Gorillas game. This year, it gets extended to "3D" with layers of buildings, scaled and "misted" toward the back. And stars in […]

[Original post on universeodon.com]

09.01.2026 01:47 πŸ‘ 2 πŸ” 1 πŸ’¬ 0 πŸ“Œ 1