Messing with Processing and a black hole

I put together a Sketch in Processing this evening. It generates a canvas at whatever size you want, adds a black hole and a couple of thousand pixels that get sucked into the black hole with some simulated gravity. The final result is a bit like the image I had in my head when I started, so I’m happy with that. I would like it to be more awesome, but this will do for the time I have to play with right now. I quite like the scratchy ‘pixely’ quality at ‘actual’ size, but that might be my nostalgia for older games and my taste in scrappy painting. The code’s available over at http://www.openprocessing.org/sketch/119499 where you can hit the page a few times and generate variations of the image. Anyway, enough with this post as I should be doing some … Continue reading »

Concept Game – Simple Evolutionary Model

I’ve spent enough time on this now to submit it, even if it’s still a bit rough around the edges. I’ve included a bit of a write up below. This demo will run best in Chrome or Opera. Click to play. I’ve built a simple ‘game’ called Digital Husbandry. It’s more of a time killer as it doesn’t have any serious game mechanics, but there is a visual reward to keep the user engaged. It’s based on the idea of simulating progressive evolution through selective breeding. Much as generations of farmers have done with livestock. The player brings together critters on the screen based on visual qualities that appeal to them, and produces offspring that drive the overall appearance of the group closer to those qualities selected by the player. The ‘critters’ die when they reach the ‘deadzone’ at the … Continue reading »

Critters Processing Sketch – Round 3

This is taking a little bit more shape now… Coming up next is user interaction.

Critters Processing Sketch – Part 2

I’m just posting some progress as this concept develops. Code etc is hosted on Open Processing if you want to have a look. I’m really enjoying Processing as a sketchbook for code. It’s definitely a good tool for teaching programming.

Critters Sketch in Processing

If your browser is up to scratch, here’s a little JavaScript based sketch from a current personal project… This is some early code for a simple game I’m working on for the Coursera Creative Programming course (it’s my first time building a game rather than regular software). These shapes are generated from a limited range of numbers, which can later be turned into a simple genetic code to define these critters. I’ve hosted this on OpenProcessing.org, so you can get to the source-code etc. http://www.openprocessing.org/sketch/103410