The Black Thread Blog

Musings of a three.js developer and eternal traveller

Faking a progress bar in three.js

Setting up a progress bar for a WebGL project is a non-trivial progress. Here we'll explore a quick and dirty method of faking one that in many cases will be just as good as the real thing

Promisifying three.js loaders

In this post we'll go over a method for turning three.js loaders into promises. It turns out to be fairly simple - we'll create a simple`promisifyLoader` function that takes any loader and spits out a ready to go `promiseLoader` version.