Alright, next batch of generative sketches coming up. Grab them while they’re hot!
#043: Das Kollektiv
This is the first time one of my artworks is inspired by music! The song in question is Das Kollektiv by ASP. I’m taking a fairly literal interpretation of a swarm of little entities in between the walls, sucking out the essence of the “guests”. The images are pretty dark; you might need high contrast settings.
#044: Into Oblivion
This next one isn’t just inspired by music, but directly driven by it! There is already a post about it, so I’ll just post the visuals here.
Here is a video using a shortened version of Push Every Button by Lapfox:
(552 words and 37 images, estimated 2:12 minutes reading time)
When making Into Oblivion, I was a bit frustrated that it was rather hard to gain good information from the FFT analysis and that it was utterly impossible to find which instrument was playing. And then a friend told me about MOD music.
Unlike audio files like mp3, module files aren’t rendered down to just the audio information. Simplified, they have two elements: A collection of distinct audio samples and tracker information when to play which sample and how to modify its pitch, volume and other properties. So that means if your visualizer is a MOD player, you have all this juicy information available at your fingertips!
So there were a few things I needed:
- MOD files: I got those from ModArchive.org. I chose:
- chiptune, phantasmagoria, rsectro and zapped_out by 4mat
- Rivendell by radix
- A MOD tracker to analyze the MOD files: OpenMPT filled that spot quite nicely and was easy to get into even for a total beginner like me.
- A MOD processing library – of which I only found one! Luckily, PortaMod has (nearly) everything I needed, and the creator Brendan Ratliff was most helpful on Twitter.
Since this was my first foray into MOD music visualization and I wasn’t cooperating with a musician, I wanted to keep the visualizer as general as possible; any file that it could play should work. I also wanted to use as much information as possible. In the end, I chose a rotating circular representation divided into slices. Each slice is a MOD channel and each MOD sample was assigned a color. Pitch modifications made the radius go bigger, and everything is pulsating according to the output amplitude.
Executable for Windows
GitHub Repository (MIT License)
And now there’s been enough talk – have a preview video and a few screenshots!
The song used are, in order:
- Rivendell by radix
- phantasmagoria by 4mat
- rsectro by 4mat
- zapped_out by 4mat
When you google “unity utilities”, it seems like everyone and their dog has one of those. Well… now there’s one more of them! Open-sourced, well-commented, with descriptions, examples and class documentation. Get it while it’s hot:
- Countdown: Useful for things like cooldowns or spawn delays. It is also helpful for tweening things by using the
- EditorHelper: Gets the
[Tooltip] attribute content of fields for editor classes. Might get more helper methods in the future.
- LINQExtensions: A collection of extension methods for
List and arrays.
- MathHelper: Helper methods for time-independent eased lerping, mapping and angles.
- MeshCreator: Makes it more convenient to create meshes via code.
- NoiseOutputValue: Enter a range and a speed in the editor, get an output value that fluctuates over time using Perlin Noise.
- RandomBag: A
RandomBag gives you random items from a group while ensuring that in a certain interval every item was given back the same number of times.
- Range: Editable data types that take an
float range. Used for things like “Spawn 2 to 4 enemies.”
- RollingArray: Collection that keeps the last x elements that are added to it.
- Singleton: Allows easy and convenient creation of a Singleton. Optionally makes a Singleton persist between scenes while ensuring that only one exists.
- UnityHelper: Contains a plethora of useful extensions and helpers for Transform, GameObject, Vector2/3/4, Rect and more.
- XmlHelper: Serializes data to XML strings and makes accessing optional element content and attributes in general XMLs easier.
To use the scripts, just drop them into the Assets folder of your projects. Or better yet, make an “Assets/Extensions/TobisUnityUtitilites” folder and drop them there. Hurray for proper organisation.
You can also just use selected scripts, but you should check the “Dependencies” section in the respective folder to make sure you copy everything you need.
It’s been over a year since I last posted a collection of small generative art sketches – but that’s not because I stopped making them, I just got a bit lazy with posting. There’s quite a lot queued up now! And without any further ado, here are candidates #29 to #35.
#029: Plasma Blob
This one isn’t terribly impressive, but it was made in a few minutes to demonstrate Processing to a colleague and is reasonably nice to look at.
#030: Mara’s Ocean
A typographic variation of #028: Isles using the Mara’s Eye font.
#031: Chimera Maker: What Has Science Done?!
The sillyness levels go through the roof with this one. For executables for Windows, Mac, Linux and Android and for more pictures, check out it’s own blog post!
(408 words and 32 images, estimated 1:38 minutes reading time)
After missing last year’s NaNoGenMo (the generative cousin of the NaNoWriMo: the National Novel Generation Month), I thought I should finally take the plunge this year. Nevermind that I never made any generative text before.
The Greater Book of Transmutation is mainly based on a free association database that I found here. It’s about making things, using materials that are commonly associated with them – e.g., a cat might be made from “being feline”, “claws”, “meows” and “being graceful” and “tail”. Throw in a system of tools with actions that use/transform materials, a bit of word classification, a markov chain latin words generator, a lot of silliness and bit LaTeX, and you get:
You can find the resulting PDF here.
The source code (MIT license) written in Python is also available.
How to make a book in 12 easy steps:
- 10 hymns
- 178 readings
- 10 clear concepts of poem
- 4 clear concepts of guide
- bucket with water
- pet unicorn
- ballpoint pen
- Let vessel cool down.
- Heat vessel.
- Dip 10 clear concepts of poem into the bucket with water.
- Feed 10 clear concepts of wet poem to your pet unicorn.
- Let your pet unicorn lick 10 hymns.
- Pet your pet unicorn.
- Wait for a long time.
- Wait until your pet unicorn poops. Receive 124.89 ounces of a very dirty pile of “wet poem”
- Draw a magic circle on the floor using the ballpoint pen.
- Draw a cross into the circle and place 10 licked hymns, 178 readings, 4 clear concepts of guide and 124.89 ounces of a very dirty pile of “wet poem” on each corner.
- Whisper the following spell: “Alchemia implacabilis! Meio clystermitto clodigo condocefaciencia, millibi! Verca bisellatrocinium! Creditor circumbrans!”
- Reluctantly, a book will appear inside the circle.
That might also help those that are struggling to make a book. And if you are missing one of the materials or tools, maybe another entry in The Greater Book of Transmutation could help you make it!
Used data sources:
Four weeks ago, I started doing daily generative art Processing sketches – and now I am at the end of this fourth week. I’m glad I held on to the “do one sketch every day” mantra, even when I wasn’t feeling inspired – I made some pretty fun stuff this week. Alright, let’s dive right in!
#022: Tentapus Generator
That’s right – it has 10 legs, not 8! I really like how the legs always look so different. While generating, sometimes it almost looked like it was dancing. I might actually use this in a game one day – it certainly looks like it would be fun to play with.
(813 words and 48 images, estimated 3:15 minutes reading time)
And thus, the third week ended. It had its hits and misses, but I learnt new stuff and I’m especially content with the three dailies at the end! And now, without any further ado:
#015: Probably a Metaphor for Something
On the other hand, maybe it isn’t. Let’s… let’s just skip this one, okay? I guess it’s safe to say that it didn’t go where I wanted it to go.
(800 words and 37 images, estimated 3:12 minutes reading time)
And the second week is over! I had some interesting and diverse results this week. I’m especially fond of the Silk/LightWeaver and some of the results of Stormy Weather look very dynamic.
#008 – Silky Smoke
A variant of #006 (CircleTrails), inspired by this video where Casey Reas talks about the circle collision thing that #006 also uses, but with drawing lines between them. Silky Smoke works in a similar way, but isn’t about drawing a persistent picture and more about the movement created. It looks okay, but I have to admit that I was hoping for more.
(954 words and 60 images, estimated 3:49 minutes reading time)
Hey! If you’ve been reading this blog for a while, by now you’ve probably noticed that (true to my tagline) I mostly post games that I make – but sometimes, it’s also other stuff. The “other stuff” might get a bit more company from now on! I’ve been getting into generative art, and I’ve decided to make one generative art sketch per day until I get bored with it. Every Sunday I’ll post the results of the week with screenshots, videos, executables for Windows and the processing source files. And if you’d rather see me making games, don’t worry – making interesting and potentially beautiful things with code will only help making my games look better. And now without further ado, I present to you week 1!
#001 – ShardSphere
First one in my daily series! Mostly inspired by Generative Art Chapter 5. I really like the beginning when it comes to life out of nowhere.
(803 words and 29 images, estimated 3:13 minutes reading time)
A few weeks ago, I finished my studies at the HTW Berlin in International Media and Computing with the defense following my master’s thesis. I thought that its content might be interesting to others on the internet too, but I understand that not everyone wants to read 100+ pages. For that reason, I am now writing this “too long; didn’t read” summary. It is also a lot more informally written. If you like what you read, you are quite welcome to read the longer version too! Here are the links:
Source Code (open source, MIT license), Screenshots, Photos, Videos etc.
You can also read this summary as a PDF, but you would miss out on the videos.
(4434 words and 12 images, estimated 17:44 minutes reading time)