Game AI - Moving Target Pursuit
An algorithm for game agents to pursue moving targets efficiently in a dynamic game map. It is based on an adaptive A* search technique called "Tracking Automatic Optimization" I developed as part of my engineering coursework and was originally implemented in XNA.
The demo presented in the link below is a re-written WebGL version of the base algorithm.
There are no third-party libraries used in the WebGL version. All features, including the math functions were written from scratch.
Quaternion conversion and interpolation
A javascript implementation of the spherical linear interpolation algorithm from gamemath.com used to show how quaternions are used for animating rotations
The demo includes animations on a primitive 3D cube, completely made in WebGL using math utilities but without any frameworks like three.js.