3 minutes
Contact me
Gravitational Attraction

If you want to see the pull of gravity, drop whatever you're holding right now. If you had listened, you may have seen your phone drop to the ground and bounce.

It may even have a few scuffs, or that pen may have hit the desk. Whatever the scenario there is no denying gravity is something that we...

1 minute
Contact me
Recursion

Recursion

Recurions is one of those topics in programming that I have had an interest in. Partly because infinate recursion is well... so weird. It reminds of me of the Eternal Return Theory.

However in code we have control of the boundaries and can stop the recursive call at anypoint. This...

3 minutes
Contact me
Steering Behaviour

Autonomous Agents and Steering

The goal of this post is to examine simulations where the objects make decisions.

Previously I had looked at the way forces act on objects. In this post I wanted to explore objects that aren't inanimate and have some ability to make a choice about their behaviour.

...
0 minutes
Contact me

Back when I was a kid pig latin made no sense. I wanted to make a basic pig latin translator so if I ever come across it again I can at least hold a conversation....

I know this little script will be very handy.

It's pretty amazing that we can read stuff even though the letters are mixed, I'm...

4 minutes
Contact me
Maze Generation

Using a depth first search and a recursive back tracking algorithm

and this Wiki Page.

How?

First I have to think about how I am going to approach the maze.

I'm using an HTML5 canvas which I will divide into a grid with each cell being it's own object. The program will figure out which wal...

2 minutes
Contact me

Reactivity in JS

context: I have been using Vue.jsfor a number of side projects and really enjoy working with it, I also use Knockout.jsa lot in work which uses a similar approach. I wanted to dive into the abstracted functionality a little deeper to help me understand the libraries I work w...

4 minutes
Contact me

Saying Hello

0110100001100101011011000110110001101111,Even something as simple as hello can seem strange and alien in machine language. Yet our world today in 2018 is shaped by 1’s and 0’s. These 1’s and 0’s represent state at the hardware level. it could be the voltage of a pulse or the change...

3 minutes
Contact me

A Journey back in time..

In 2013 a game was released that in the following year would take the world by storm. A young Vietnamese programmer named Dong Nguyen released a game that he would later remove from the App store from guilt of overuse and the addictive nature of the game. That game was Fla...

2 minutes
Contact me

So what is a force?

Simply:

A vector that causes an object with mass to accelerate.

All objects with mass experience force. Some common forces: gravity, tension, spring, buoyancy, air resistance.

These are things we want to model within our code to create a dynamic simulation of the real wor...

3 minutes
Contact me

This year has really got off to a flying start. I'm super busy at work and school and I have been squeezing in non work related learning when I can. I have had to do more database work at my day job so I have been wrapping my head around that which has stunted my progress with the Nature of Code.

T...