Lewpen Kinross-Skeels
JavaScript developer — web frameworks, game engines and 3D graphics, with a deep archive of demos going back to the late 1990s, brought back to life to run in a modern browser.
Web frameworks & game engines
Articles
Graphics engines, animation, games and programming.
Composable type checking for JavaScript
Article about the Security module
May 2024Generating short ordered IDs with any insertion pattern
Say you have a set of elements which need to be ordered, and you want to give each element an ID which reflects its position in the ordering.
May 2024Counting uniques using only O(1 byte)
There are occasions when you need to know how many unique entries there are in an array or how many unique values have been seen in a stream, but do not…
Apr 2024Making a node module which works both on frontend and backend
If theres some logic which needs to run on both frontend (JavaScript/HTML) and backend (NOdeJS) then there are some patterns which allow you to use the…
Apr 2024On address space sizes
We are well into the 64-bit era, and a 64-bit pointer allows for an addressable space of 2^64 bytes, or 16 exabytes.
Apr 2024Self-describing code
It is possible to write code in a manner that allows you to choose whether to execute it or grab a description of what the code does as an Abstract Syntax…
Jan 2023Self-describing code
It is possible to write code in a manner that allows you to choose whether to execute it immediately or grab a description of what the code does as an…
Jan 2023
3D Script IDE demo
This is an interactive environment for creating 3D animations using a simple scripting language.
Jan 2023A pure JavaScript CPU emulator
A CPU is a device which takes instructions from RAM and performs actions based on those instructions.
Jan 2023Asteroids game
ccc
Jan 2023Bedlam MS-DOS Game
Jan 2023
Comparison of JavaScript binary data objects
There are a set of objects for dealing with binary data in JavaScript, which are slightly different on NodeJS and in the browser.
Jan 2023