• Old CRT Monitor Effect

    Does anyone remember the first CRT monitors? Those monochrome ones that had the ugly refresh line, scanlines, etc. This is an attempt to recreate that feel. I got the idea from tutsplus.com. Actually I used the method there almost exactly and changed the image. This effect makes use of RGB …

    Old CRT Monitor Effect
  • Monte Carlo, Gemini Rue Solver

    This is a solver for a puzzle found in a game called Gemini Rue. This particular puzzle is found later in the game and can be frustrating, especially the second time you run into it. This particular toy recreates the puzzle for you to play, however it started as a …

    Gemini Rue Monte Carlo Solver
  • Procedural colors

    How often are you going to sites like colorschemedesigner.com to generate a colour palette for your design? This article on devmag.org.za had algorithms to generate procedural colours. Whilst I was porting the C# code, a commonality was found. All the algorithms relied on altering one of the dimensions of a …

    Procedural.Color-Screen
  • Sum to Fifteen (All About Perspective)

    I got the idea for this game from a lecture I was watching, given by Scott E. Page. He gave the online course Model Thinking over at Coursera. He is a lecturer in Complex Systems at the University of Michigan.  He presents the idea of how perspectives have such a large influence …

    sum-to-fifteen
Marsaglia transform

Streaming Histograph

Streaming Histograph is a term I came up with for a component I tried to recreate from controul.com. It is essentially a …

Binary Sorted Array

Some versions of quick sort and some other sorting algorithms have their worst case when a list is mostly sorted. This post …

Marsaglia transform

Park Miller distributions

I have posted previously about the Park Miller method for generating uniform random numbers. This post is about visualising the distribution and …

Coins Spinning

Coins Spinning

The code for this post originally started out as example on how to remove bias from a biased coin flip. The code …

Animated Flag

Animated Flag

This effect has been done ages ago, back in the days when nehe was still active! I remember seeing this effect for …

Fairy Dust Particle Effect

Fairy Dust Particle Effect

Here is another particle system which makes for some pretty graphics. The premise for this demo is a particle that chases something …