OwnKng

Dispatches

Extracts from some of my recent projects

31 Aug 2023

An AI tool for data visualisation. An experimental app that wires up OpenAI’s function calling API to the World Bank’s data, allowing users to simply describe what data they want to see and create interactive dashboards in seconds.

SvelteKitOpenAIChatGPT
15 Aug 2023

Nicely looping sketches created with p5.js. After reading Etienne Jacob’s fantastic article on replacement techniques, I created a few sketches based on the same idea. This is probably the one I’m most pleased with. See the code here.

p5.jswebGL
1 Aug 2023

Adaptable examples for data viz in Svelte. A collection of (mostly) reusable examples for writing data visualisations in a declarative style using Svelte and D3. Check it out.

D3svelte
8 Jul 2023

WebGL Sparks. A particle sketch made using WebGL and GPGPU. Building on some of my previous work, I’ve implemented a (very basic) physics system in GLSL using three.js data textures. See it live here.

three.jswebGL
8 May 2023

GPGPU for particle effects. Using GPGPU in three.js for performant particle effects and physics

three.jswebGL
30 Apr 2023

A small fps demo in react-three/fiber. Built using the incredibly powerful react-three/rapier physics library. Have a play or view the code.

three.jsrapierwebGL
30 Apr 2023

Using vector flow fields to create nice patterns. A webGL sketch by made dividing the canvas into a grid, and then assigning a noise value to each grid cell based on its position. This noise value is then set as the angle that each particle is pushed in when it enters the cell, producing this rather pleasing effect. Try it here

three.jswebGL
29 Apr 2023

Programming vehicle behaviours in three.js. After watching Daniel Shiffman’s (AKA The Coding Train) series on vehicles / boids, I reimplemented these behaviours in three.js. Check it out.

three.jswebGL
Prev pageNext page