Glyph Generator

For those that were following my Glyph Generator project, it’s now live at GitHub: Glyph-Generator

The Glyph Generator project began as an effort to create visually compelling glyphs for the Glow Cuboid, leveraging AI to assist with random generation, classification, and artistic processing. However, it has now evolved into a standalone system for glyph generation, including random glyph creation, extracting glyphs from Unicode fonts, machine learning-based classification, and applying artistic transformations to create captivating outputs.

This system is modular and can be used for artistic, functional, or experimental purposes, such as creating custom art or visualizations. Below is a small example of computer generated glyphs.

4 Likes

Hi @MarkMakies

That’s a really cool project! Thanks so much for posting it, hopefully there is someone out there who can make use of it.

2 Likes

It looks interesting. Thanks.

My next step is to get these glyphs onto a LED panel. The Glow Cuboid was only designed for 8x8, so I’ve printed a new diffuser that will handle 4 matrix modules for a 16x16 display - first prototype in pic just came off the printer.

Each glyph will be represented by only 256 bits, so I can store lots of glyphs with little memory, about 32,000 per MB on the MCU, so a plain old RP2040 should do the trick. It will be pretty much the same code as the Glow Cuboid, especially when it comes to the random colour generation algorithm.

The symbols however won’t be randomly generated, but randomly selected, from those preloaded, and then rendered on the the display. This should give me the ‘alien’ like script I was hoping for when I first created the Cuboid in 2023.

2 Likes

early simulation of possible rendering

4 Likes

Hi Mark.

This is really cool.
I like your half AI, half real time classification approach.


You might be interested in this project from a few years ago where I workshop a similar problem.
Similar vision.

Here is an example of an algorithmically generated bitmap.

Looking awesome.
I always love seeing your projects evolve.
Thanks for sharing.
Pix :heavy_heart_exclamation:

1 Like

Hey Pix, glad you like the project. I had at look at gen_me_a_pixamon .

Ahh, Rust, never heard of it until now, steep learning curve by the looks of it. I was hoping to give it a try, but my programming skills are stuck in Python.

Otherwise this would be an ideal project for playing with Machine Learning algorithms.

mark

1 Like

If, after you’ve got some glyphs going on glowbits, should you still be curious about the idea, I’d be happy to port it to python for you.

The only reason I wrote it in rust was so I could compile it to a binary and punch it to my server. Rust isn’t doing anything magic here and python is plenty fast enough for this task.
:crab: :arrow_forward: :snake:

2 Likes

Hey Pix,
I’ve got my 16x16 panel going well. If you’ve got the time, please port to python and i’ll give it a crack.

2 Likes

I’m curious to see it so as long as you take photos I’m happy to do it.
I’m guessing you need the monster to be represented as a numpy array?

monster = np.empty((16, 16, 3), dtype=np.uint8) #16*16 GRB pixels?

Alternatively should I output a custom object you’ve made? A preferred data-structure?