David Lochhead's repositories
Three.js-Object-Rotation-with-Quaternion
Rotate an object, not camera, using quaternion rotation.
vite-threejs-ts-starter
A basic THREE.js project in TypeScript with Vite. Includes OrbitControls, Stats and basic shadows.
random-position-on-the-surface-of-a-sphere
Sometimes you just need to postion things on the surface of a sphere. Here are a few methods I've used over the years.
Sketch---Lines
Using noise to generate, and animate, lines on the surface of a sphere.
WebPack-3-Build-System
WebPack 2 build system using ExtractTextPlugin for external CSS.
SelectNextNumber-sublime-package
A SublimeText 3 package for selecting the next number.
codevember_2016
Source code for my #codevember 2016 entries
the-rendezvous
Inspired by the label of @pressuredropbrw's collaboration with @gammabrewing. The Rendezvous — a 6.8% DDH NEIPA.
DefinitelyTyped
The repository for high quality TypeScript type definitions.
discoverthreejs-site
Repo for the book Discover three.js!
dogpubtimemachine
An open source project to quickly show what Brewdog bars have had on tap.
glsl-noise
webgl-noise shaders ported to work with glslify
MidiPlayerJS
♬ Midi parser & player engine for browser or Node. As a parser converts MIDI events into JSON. Works well with single or multitrack MIDI files.
package_control_channel
Default channel file for Package Control. Follow the directions at:
phaser3-typescript-spine
Example project for Spine animations in Phaser 3 with TypeScript plus SpinePlugin typing files! 🌟
three.js
JavaScript 3D library.
Three.js-bootstrap
Simple Three.js Bootstrap
THREE.MeshLine
Mesh replacement for THREE.Line
Video-Bit-rate-Calculator
Calculates the bit-rate required to fit a video into a specific filesize.
vite-plugin-glsl
:spider_web: Import shader file chunks :electric_plug:
vite-vanilla-ts-sass-starter
A Vite vanilla TS starter with SASS
vue2-datepicker
A datepicker / datetimepicker component for Vue2
webaudiofont
Use full GM set of musical instruments to play MIDI and single sounds or effects. Support for reverberation and equaliser. No plugins, no Flash. Pure HTML5 implementation compatible with desktop and mobile browser. See live examples.
webvr-polyfill
Use WebVR today, without requiring a special browser build.
webvr-polyfill-dpdb
An up-to-date Device Parameter Database for the WebVR Polyfill