This demo by Lutz Rosema is a fun cellular autonoma (Game of Life) style simulation featuring three different types of “cell”: wolves, sheep, and grass. The demo is based on an old BASIC program (which makes it that much cooler in my book). Try tweaking the variables to modify the probability of each event.
Canvas is Awesome
I have a post up on my company’s blog about the state of canvas in 2015. People are doing some pretty amazing things with canvas these days: there will come a time when AAA...
This little canvas demo grew from a random thought: I wonder how simple it would be to draw a crystal lattice in canvas? The key is I’m too lazy to look up any sort of mathematical property/formulae/anything at all that might help me understand how this stuff works. Instead, I guessed and eyeballed it. This is the result.
This is a little hypnotic: pristine white snowflakes drift across the screen, floating on invisible air currents. It’s easy to change the number of snowflakes, it doesn’t care about your screen size, and it runs smoothly at 60 frames per second.
Modus Create takes a look at the pros and cons of 2014’s most popular HTML5 game engines, looking at features, pricing, and examples of the engine in action. If you’re thinking about building a game in 2015 but don’t know which engine to run with, this is a great place to start your research.
I’m absolutely fascinated with cellular autonoma simulations like Conway’s Game of Life, which makes Terra pretty amazing. It’s a library that simplifies building these sorts of simulations.
If you live in the northern third or so of the world, you’re probably used to seeing snowflakes this time of year. These aren’t falling from the sky, but considering I’m not much of a cold weather person, I’m considering that a check mark in the “pro” column.
So, sine waves. You remember these guys from trig, right? This brand new, tiny little library simplifies generating them. I’ll admit: I didn’t see right away how something like this could really be useful. Until I saw this demo.
The particles.js library really only does one thing, but it does that one thing well. If you want to create a really awesome looking demo involving randomly roaming particles — with or without connecting lines — this is absolutely the library for you.
I saw this really cool animated wallpaper on an Android device a while back. I was a little envious, and it got me thinking: I wonder if I could build something like that in canvas? Turns out, it’s not too tough!
The concept is simple: you are a ship surrounded by enemies. You shoot those enemies, only to have them replaced by progressively more, harder enemies. Eventually you’re overwhelmed, but you took out a lot of baddies on your way out.