Tag Archives: Programming

Perlin-Like Noise

-

A tricky video this one, as after I filmed the video, I realised it’s not exactly Perlin noise, but I didn’t have time to reshoot.

Sometimes, we want to randomly generate things, but pseudo random number generators are just too random! Perlin developed an algorithm which adds local coherence to noise at different spatial scales, creating clumping and patterned noise. This is considerably more natural in appearance than just white noise, and has many desirable properties such as tesselation, and level of detailing.

Jx9

First Person Shooter at the Command Prompt – Update

-

One of my earliest videos was a simple raytracing engine that ran in the command prompt. In fact, here it is:

I felt it was time to give this project a bit more attention, and introduced textures and sprites into the engine. The end result has transformed the look of the engine, and you would be hard pressed to realise this was still done in a regular windows command prompt.

Jx9

Wavy Lines and Bendy Things

-

I really like splines. They can add a very natural feel to otherwise rigid environment. Therefore, I think all programmers should have an appreciation of splines.

You never know where you might need them. Graphics is the obvious choice, but then you can also consider UI, trajectories, function approximations, general curves, and plotting.

This video is part 1 where I introduce Catmull-Rom splines. Part 2 will show how to navigate splines in a consistent manner.

Jx9