A fun little falling sand simulator, used as a testing ground for [pptk](https://git.shadamethyst.xyz/amethyst/pptk).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Shad Amethyst c8c4ba5894
🐛 Batch render into one call, cache the ImageData between renders, scale pixels on big devices
2 years ago
src 🐛 Batch render into one call, cache the ImageData between renders, scale pixels on big devices 2 years ago
.gitignore 🎉 First commit 2 years ago
README.md 🎉 First commit 2 years ago
index.html 🎉 First commit 2 years ago
package.json 🎉 First commit 2 years ago
tsconfig.json 🎉 First commit 2 years ago
vite.config.ts 🎉 First commit 2 years ago
yarn.lock 🎉 First commit 2 years ago

README.md

Usage

Those templates dependencies are maintained via pnpm via pnpm up -Lri.

This is the reason you see a pnpm-lock.yaml. That being said, any package manager will work. This file can be safely be removed once you clone a template.

$ npm install # or pnpm install or yarn install

Learn more on the Solid Website and come chat with us on our Discord

Available Scripts

In the project directory, you can run:

npm dev or npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

npm run build

Builds the app for production to the dist folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Deployment

You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)