Generative Art – Sketches #029 to #035

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.

s029_plasma_blob_03      s029_plasma_blob_02      s029_plasma_blob_01

#030: Mara’s Ocean

A typographic variation of #028: Isles using the Mara’s Eye font.

s030_maras_ocean_01      s030_maras_ocean_02      s030_maras_ocean_03

s030_maras_ocean_04      s030_maras_ocean_05      s030_maras_ocean_06

#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!

031_chimera_maker_01     031_chimera_maker_02     031_chimera_maker_03

031_chimera_maker_04     031_chimera_maker_05     031_chimera_maker_06

031_chimera_maker_07     031_chimera_maker_08     031_chimera_maker_09

031_chimera_maker_10     031_chimera_maker_11     031_chimera_maker_12

#032: Grass Tree

Another ad-hoc Processing tutorial I gave for a ground of friends. This one was a bit more involved than #029: Plasma Blob and looks pretty nice!

s032_grass_tree_02      s032_grass_tree_01

#033: Dance of the Fireflies

An experiment with boids/flocking. Unfortunately a little dark-ish, so it’s best observed at night – just like real fireflies!

s033_dance_of_the_fireflies_01     s033_dance_of_the_fireflies_02      s033_dance_of_the_fireflies_03

#034: Living Constellations

Stars float around and form constellations with nearby other stars.

s034_living_constellations_01     s034_living_constellations_02     s034_living_constellations_03

#035: Smoky Silk

Yet another silk variation.

s035_smoky_silk_01     s035_smoky_silk_02     s035_smoky_silk_03

Download

Windows (32 bit)

Windows (64 bit)

Source Code (GitHub, MIT license)

Instructions:

  • Plasma Blob: Left-click to refresh.
  • Maras Ocean:
    • Left-click or X to refresh.
    • Right-click or C to refresh, but keep color palette.
    • Middle-click or V to refresh, but switch colors.
  • Grass Trees:
    • Left-click to refresh.
    • Right-click to instantly finish growing.
  • Dance of the Fireflies
    • Left-click to refresh.
    • Middle-click to take 1000 steps and pause.
    • Right-click to pause/unpause.
    • A to refresh and finish 1000 steps with same color.
    • S to refresh and finish 1000 steps with changed color.
  • Living Constellations
    • Left-click to refresh.
    • Right-click to pause/unpause.
  • Smoky Silk
    • Left-click to refresh.
    • Middle-click to take 1000 steps and pause.
    • Right-click to pause/unpause.

If you’re not on Windows, fret not; for some reason I can’t compile for Mac and Linux, but you can just download Processing and open the sketch files in the archive. Sometimes you need to add a library, but mostly it’s really straightforward. If you need any help doing that, just send me a mail or comment here.

The Greater Book Of Transmutation: A Procedurally Generated DIY Book for the NaNoGenMo 2015

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:

The Greater Book of Transmutation Title

You can find the resulting PDF here.

The source code (MIT license) written in Python is also available.

An example:

How to make a book in 12 easy steps:

Materials:

  • 10 hymns
  • 178 readings
  • 10 clear concepts of poem
  • 4 clear concepts of guide

Tools:

  • bucket with water
  • vessel
  • pet unicorn
  • ballpoint pen

Instructions:

  1. Let vessel cool down.
  2. Heat vessel.
  3. Dip 10 clear concepts of poem into the bucket with water.
  4. Feed 10 clear concepts of wet poem to your pet unicorn.
  5. Let your pet unicorn lick 10 hymns.
  6. Pet your pet unicorn.
  7. Wait for a long time.
  8. Wait until your pet unicorn poops. Receive 124.89 ounces of a very dirty pile of “wet poem”
  9. Draw a magic circle on the floor using the ballpoint pen.
  10. 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.
  11. Whisper the following spell: “Alchemia implacabilis! Meio clystermitto clodigo condocefaciencia, millibi! Verca bisellatrocinium! Creditor circumbrans!”
  12. 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:

Generative Art – Week 4

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.

s15_03_22_tentapus_generator_01      s15_03_22_tentapus_generator_02      s15_03_22_tentapus_generator_03

s15_03_22_tentapus_generator_04      s15_03_22_tentapus_generator_05      s15_03_22_tentapus_generator_06

Generative Art – Week 3

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.

s15_03_15_probably_a_metapher_for_something_01

Generative Art – Week 2

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.

s15_03_08_silky_smoke_1     s15_03_08_silky_smoke_2

s15_03_08_silky_smoke_3     s15_03_08_silky_smoke_4

Generative Art – Week 1

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.

s15_03_01_shardsphere_1     s15_03_01_shardsphere_2

s15_03_01_shardsphere_3     s15_03_01_shardsphere_4

Master’s Thesis: Evaluating the Advantages of Physical and Digital Elements in Hybrid Tabletop Games

Preface

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:

Master’s Thesis

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.

StarCoder: A Short Game Programming Workshop For Total Beginners

15 Minutes in the Shoes of a Game Programmer

For a workshop at the YOU, a youth culture fair, I was asked to make a concept for a short game programming workshop.

The requirements were:

  • The workshop should give an impression of the work of a game programmer.
  • It should take about 15 minutes and allow groups of varying size.
  • I should assume that the participants have no experience in programming at all.
  • Instructions should be kept to a minimum; the focus should be on hands-on experience.
  • The workshop should produce a quantifiable result.
  • It should be an enjoyable experience.

No easy task. Luckily, inspiration struck, and a few days later I finished the game StarCoder.

StarCoder

Move the player to the star by using
Left/Right and Space to jump.

An easy game if it weren’t for the spikes –
or if you could jump far enough, for that matter.
Luckily you can edit the source code.

There are 15 distinct solutions to win the game.
How many will you find?

Download for Windows

Source Code (License: CC BY SA)
Creative Commons License

StarCoder: A Short Introduction To Game Programming For Total Beginners

The Workshop

The workshop went extremely well. Everybody found at least 4 solutions, with some finding up to 10. The game also seems to be surprisingly fun, even (or especially?) for non-programmers! Results were often accompanied by laughter and some of the participants even asked for the program so they could try it again at home. And I remember a teacher who sat down to try it himself after I finished the workshop with his group of pupils.

If you use it yourself (which I’m totally fine with – I’d love if you drop me a message that you are using it!), this was my approach:

  • Tell your attendees that the goal of the game is to get to the star. Ask them to click in the left part and try it themselves: Arrows keys to run, Space to jump.
  • After half a minute admit that it seems rather impossible – but luckily there’s the source code on the right side which they may edit. Ask them to notify you once they have a solution.
  • Once they have the first solution, congratulate them for their achievement. Then ask them to click on “Reset” in the lower right corner and tell them that there are 14 more solutions.
  • After a few minutes (or a few solutions, depending on their speed), tell them that there’s also the “Creation” tab in the upper corner.

The ideal number of attendees seems to be 1 to 3 per computer. You might want them to write down their solutions if you want to assign a score to each group later.

So… how about you? Did you find every single one of the 15 solutions? Try it yourself first – and then check it with this handy walk-through. (No cheating though!)

And if you’re interested how hard solutions are and which are found the most and least easily, you can check out these statistics (contains spoilers!).

Credits

  • Concept, Programming and “Art”: Tobias Wehrum
  • Sounds: Moritz Ufer

Thanks to my playtesters: Moritz, Tobias, Kelvin, Sebastian, Simon, Christiaan, Lukas, Florian, Marina, Jana, Jens, Paul, Ronja and Nadine. You guys have been a huge help!

Made in cooperation with:

Wizard Defense: A Cooperative Augmented Reality Game

It sucks to be cursed. It sucks even more when you’re standing paralyzed in your own wizard tower while your arch-enemy sends hordes of hungry ghosts to gobble up your mana. Luckily your telekinetic powers are still working fine, and now you are defending yourself by redirecting energy beams from your hands with mirrors and whatever else is at hand.

Wizard Defense

You’re paralyzed. Enemies are closing in.

Redirect the energy beams with mirrors to hit the ghosts and
change their colors at the right time to exploit each ghost’s weakness!

A cooperative augmented reality game for two friends and a webcam.

Play it in the web player!
(Download and print the markers!)

Download it for Windows/Mac/Linux!

The source code is available further down in this post.

How to Play Wizard Defense: A Co-op Augmented Reality Game

You can quit the game by pressing Escape while the menu console is showing.

Solo Play?

If you play alone, you might have some problems – it’s made for two players. If you still want to play alone, here are some cheats you can press after the first ghosts spawned so you can at least experience the gameplay: F10 triples the power of your energy beam, and F11 makes you invincible.

Open Source

This was one of my three big projects this semester, this one for the Augmented Reality course. It’s built in Unity 4, with NyARToolkit to recognize the markers. The japanese documentation makes NyARToolkit a little bit hard to read, but good examples and method names go a long way and we had a lot of fun using it.

You can download the source code and Unity 4 project here. The source code is released under the terms of the GPL v3. The assets (meshes, textures etc) are not released under any particular license. Unless mentioned otherwise on their respective source websites stated in the credits, you are not allowed to use them. If you’d like to use them anyway, feel free to contact me. (Disclaimer: The project was for a university course. Due to time constraints and that not being a requirement, the code is not well documented nor does the documentation fit the C# standards.)

Credits

Screenshots

Finally, have a few screenshots:

Hammertennis: Tennis, But With Giant Hammers Instead Of Rackets

Take Hammerfight. Add Pong. Mix and stir. Sprinkle with a little realism and Tron.

Recipe serves 2.

Hammertennis

You are playing Tennis. Well, you’re trying to play Tennis.
You’ve lost your tennis rackets, so you take hammers instead.
Also you’ve forgotten most of the rules.

Hammertennis: A fast-paced ball game for 2 players.
Supports Keyboard – or Gamepads! (You only need one stick. Choose any.)

Download the Windows executable

Hammertennis Gameplay

You get 2 points for scoring a goal, and 1 point if the opponent hits his own goal.

Normally only the hammers can hit the ball – but if the ball is red, the blue player can hit it once, and vice versa.

This is the first game I ever started with Python, featuring Pygame and pybox2d. Lovely language! It is also the first game that I ever made that uses any serious form of physics.

Both are thanks to Florian Berger, who is teaching the university course that got me started on making a Python game featuring any form of physics in the first place. Thanks a lot, it was great fun and (obviously, see above) had great results!

You can also download the source code (New BSD License) if you like! It needs Python 2.7, pygame 1.9.1 and pybox2d 2.1.

Credits: