Notes from the KAYAC hyper-casual team
Tag: JavaScript (3)

I Don't Get B-Spline Curves at All
An intuitive explanation of quadratic B-spline curves as blending three neighboring points with blend functions of width 3, with a JavaScript implementation, handling of the ends and loops, and the references used.

[WebGL] Sprite Animation in 3D Space Using Shaders
How to play a sprite-sheet animation on a plane in a three.js 3D scene by scaling and translating the UV coordinates in the shader, first showing a single frame and then looping through all frames over time.
[Goodbye gulp] Building a Simple Front-End Development Environment with npm-scripts
How to build a front-end development environment with npm-scripts instead of a task runner like gulp: how scripts are written and run, the pros and cons compared with gulp, and a sample starter kit.