
The Nature of Code by Daniel Shiffman
Simulating Natural Systems with JavaScript
The Nature of Code by Daniel Shiffman launched on August 25, 2024 with 5 votes, #2,674 of 5,613 launches that month.
What it does
What if you could re-create the awe-inspiring flocking patterns of birds or the hypnotic dance of fireflies—with code? The Nature of Code 2.0 with all new examples updated for JavaScript/p5.js is out and available now!
Does a similar job
all alternatives →

- LALearn and practice modern JavaScript2019 · learnjavascript.online · ▲305
- JBJavaScript books, free online2016 · exploringjs.com · ▲222
- CCCode Climate for JavaScript2013 · blog.codeclimate.com · ▲63
- AJA JavaScript Handbook2018 · jshandbook.com · ▲239
More ai this month
the category →
I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.
AI · 22d ago · simedw.com
Astute▲585Automate your B2B brand going viral, with new media creators
AI · 24d ago · company-app.joinastute.com




Source: Product Hunt launch ↗
Launched alongside, August 2024
the whole month →
- IY
Life & fun · 2024 · ytch.xyz



- IA
Hey there HN! We’re Joe and Stopa, and today we’re open sourcing InstantDB, a client-side database that makes it easy to build real-time and collaborative apps like Notion and Figma. Building modern apps these days involves a lot of schleps. For a basic CRUD app you need to spin up servers, wire up endpoints, integrate auth, add permissions, and then marshal data from the backend to the frontend and back again. If you want to deliver a buttery smooth user experience, you’ll need to add optimistic updates and rollbacks. We do these steps over and over for every feature we build, which can…
Dev tools · 2024 · github.com