# Havox.org V2

## About havox

This is havox - havox is a collection of my projects and tutorials that I've written over the years. The tutorials written are more to consolidate my knowledge of whatever I've been working on however if they help even one person, I'll consider that a win.

Feel free to check out any of my tutorials or one of my various js projects

Why V2?

This is the second revision of Havox. After havox's initial conception in late 2017, it has suffered from a chronic case of spaghetti code. An update with: neater and better code, updated theming and overall cleaner UI was long overdue.

Why is Havox on umbra.cyou?

Havox has domain hopped a fair bit since 2017 (where it used to be hosted on jayomayo.host - lol) however since losing the `havox.org` domain, I will be using `umbra.cyou` for the foreseeable future

## Daily Trump Quote

## Tutorials

3 Jan 2021

Summed area tables

This tutorial looks at intergral images and how they're useful.

3 Feb 2019

Midpoint displacement terrain generation

This tutorial looks at generating random and natural looking 2D terrains.

14 Feb 2018

Convex hull Generator

This tutorial looks at wrapping algorithms.

22 Sep 2018

Travelling sales person

This tutorial looks at different implementations of the TSP problem and how different solutions can be implemented.

## Projects

Please note a lot of these projects use `mouseClicked()` functions which don't work with mobile :(

1 Oct 2021

Drawing bezier curves

An interactive animated diagram on drawing quadatric and cubic Bezier curves. Click anywhere on the canvas to place points.

23 Sept 2021

2D Marching Squares

A demonstration of marching squares, click a tile to edit the terrain.

2 Apr 2020

Warping lines illusion

A visualisation of the Müller-Lyer illusion shown in js

27 Feb 2019

Fourier Series

A project showing how a square wave can be made with just sin waves.

23 Feb 2019

Constructing an ellispse

A visualisation of how an ellipse can be constructed with a circle and radial lines. inspo

2 May 2018

Game of Life

A js implementation of the classic Game of Life - John Conway.

18 Mar 2018

Calculating PI

A simulation that looks at the ratio of randomly placed dots between a square and circle to calulate PI.

17 Dec 2017

Oscillations in 3D

A js implementation of Bees and Bomb's gif.

13 Nov 2017

Maze Generator

A maze generator built in js.

## Credits

Thank you to @uixmat for inspiration and some code for this webpage, check out his twitter.

Also shoutout to Daniel Shiffman and the P5 team. P5 is used extensively in these tutorials & projects