Open to Offers – freelance or salaried. Get in touch.
Hi, I'm David! I love building cool tech stuff. This page contains
everything I've built or published, all in one place.
I'm mainly into AI, blockchain, maths, music, computing, physics,
chemistry, and theology, however I love learning and stay curious about
most things.
I've made AI automations, apps and software, music with Just Intonation tuning,
self-similar fractal art and generative NFT art, Dark Forest plugins to help you
explore a hostile universe and shoot your enemies more effectively. I completed
my doctorate in fluid dynamics, my masters was mathematics, and I have a
stack of computing and Salesforce certifications.
Hope you enjoy looking at some of the interesting stuff I've built!
Building
Apps & Websites
ReTuner
– a musical instrument with Just Intonation tuning, that retunes itself as you play.
Here is the code on GitHub.
GitHub
– my public repositories, code for what I'm building
dice-to-seed
– turns physical dice rolls into a 24-word BIP-39 seed phrase. One file, Python
standard library only, runs offline. It measures the entropy, balance and
repetition in your rolls, and asks for more until every check passes.
Games
With AI, simple games can be created with a short one-shot prompt, and more complex games from
chatting through the spec with the bot. The games below were created as fun educational aids:
Dino Dash
– a Pac-Man style game. I was teaching my children how to use Claude. I set up the prompt,
and included within it their suggestions such as dino, cat, eagle, player shouting Yay after 10 dots!
Here is the code on GitHub.
Sonic "The Asteroids"
– this was created as a demo to university students, showing that a single sentence can generate an entire game.
It has fun details such as Sonic spaceship, Mario asteroids, also Luigis, Warios, and a big bad Bowser boss!
Here is the code on GitHub.
Have a go at the games above by clicking through the game titles!
Moving Mondrian – a fully onchain generative NFT on Optimism Mainnet, built
for the Optimism Foundation's "We Love The Art" competition in Jan 2024. The
artwork and its traits are generated entirely inside the contract.
Mint ·
OpenSea collection ·
contract ·
code
Nifty Ink – generative fractal art, minted as NFTs.
To draw my fractal patterns, I helped develop Markichu's PythonAutoNifty
package, extending it to allow mathematical fractals to be
drawn on the Nifty Ink canvas in many different ways, under the control of the user.
View my artist page for niftymaestro.eth
The Merge Fractal and Moving Mondrian NFTs are limited editions, and both are still
available. Mint one straight from the contract on its own page:
Merge Fractals or Moving Mondrian.
Dark Forest plugins
Highlight Buffs
– shows the user where the good planets are, 2x buffs, artifacts, etc
You Snooze, You Lose!
– works out when other players are asleep, so you can destroy them as they slumber
I've been using the latest AI models to audit smart contracts for common DeFi protocols.
This is both for my own curiosity, and to help the Ethereum community,
since there is great value in having multiple independent audits of high value protocols.
I hope you find it useful!
WETH
– Wrapped ETH is central and critical in Ethereum DeFi.
This contract was deployed in Dec 2017 and contains around 2,000,000 ETH.
I did this independent audit using Claude Opus 5 in Aug 2026.
Summary: no exploitable vulnerability,
two medium integration hazards, and a checklist for anyone building on top of it.
Uniswap V2
– the pair, factory and router contracts deployed by Uniswap in 2020 to Ethereum mainnet and other chains.
These contracts are critical in DeFi, since together with over 700 forks they control over $2 billion of assets.
Uniswap governance switched on the protocol fee in Dec 2025, after 5.6 years of that code lying dormant.
Summary: no exploitable vulnerability, the newly live fee arithmetic proven overflow-free,
and three medium findings, the largest being a fee that charges staking yield as though it were trading revenue.
DAI
– the decentralised stablecoin deployed by MakerDAO (now Sky) in Nov 2019, backed by onchain collateral,
and with over $4 billion worth of DAI currently minted.
The main risk is that the wrong person calls `mint`, so this audit traces it through 16.9 million blocks of chain history.
Summary: no exploitable vulnerability, the mint authority proven closed to a single address since 2019,
and two medium findings in a signed-approval function that predates the EIP-2612 standard.
npm modules
ji-rcn
– Just Intonation interval conversion to Rational Comma Notation
is-bounded-number
– checks whether an input is numeric and within a given bound
log-count
– a wrapper for console.log with several log levels
Music
Links
Music on SoundCloud
– original compositions and classical pieces retuned, all in Just Intonation
Music sequencer
– the sequencer I built between 2015 and 2017 to write much of that music:
notes go in as Excel, MATLAB or Octave renders one .wav per channel, and
Audacity mixes them down
Unlike what the articles appear to imply, I don't actually think we should
destroy all of our existing musical instruments because they are obsolete!
12 tone equal temperament is clearly a very successful musical tuning system,
despite its audible limitations in terms of tuning accuracy. Nonetheless, I am
delighted to use Just Intonation to create new, unusual, and exciting music.
Perhaps some day we'll figure out how to encode the infinite possibilities of
these JI tunings to actual physical instruments... or perhaps AI is needed to
automate that for us 😉
Investigating dispersion and emulsification processes using a Sonolator liquid whistle
– 8th International Conference on Multiphase Flow, Jeju, Korea, 2013, with M. Simmons and M. Baker