Small People is a weekend hack inspired by this Instagram post. It's an customizable little sandbox world with small people and their small conversations. Play with it at smallpeople.vercel.app.
Small People is written entirely in JavaScript. It renders everything using basic 2D Canvas APIs, and uses a custom algorithm to generate humans and their shadows.
- Run a server. Small People is a static single-page app. Use any web server (like
node-static
orpython -m http.Server
) to serve the project directory. I usepython -m http.Server 10009
and go tolocalhost:10009
. - Build the program. The entire source code for Small People is in
bundle.js
.bundle.js
is the pre-compiled javascript file which the app loads.
Did you make something cool with Small People? Do you have something you want brought up in conversation? Do share it with me at @onlyandrebass, I'd love to see :)