Daniel Stokes

Posts

Simple Progressive Image Loading Guide

February 19th 2021 4:31pm

Images are typically the largest network load for a webpage and can often cause delays or layout shifting which have a negative affect on user experience. For my website I wanted to tackle this issue and so here is my solution.

How to assemble the best PHP docker image

November 27th 2019 2:15pm

Picking the right php docker image can be a difficult process. Often the image is missing features that you need or has unused features. Here are some code examples for how to pick a php docker image and extend it to meet our applications requirements.

Simple State Store for StencilJS

November 18th 2019 3:06pm

Setting up a super simple store to hold variables that can be accessed from any stencil component.

Setting up a development and production workflow

November 4th 2019 8:52pm

Transitioning from development to production and juggling these two environments can be difficult. I recommend using vagrant, docker, vscode remote and git to make this a little easier to deal with.

How to add 2D Physics to CreateJs

October 25th 2019 1:55pm

Adding the Box2D physics library to your create js game can open up the possibilities for exciting gameplay. Using a physics system creates a consistent simulation experience and as a result players can more easily and intuitively predict movement and interactions.

How to bundle threejs + typescript with webpack

October 23rd 2019 6:00pm

Bundling a typescript threejs project with webpack alleviates so many headaches and allows for faster development. Organize your project files like you would for a standalone game and build them out to one single javascript file for importing.