Skip to content

Repository files navigation

SINGULARITY

Demo for the tutorial on optimizing complex Three.js scenes while preserving quality

Singularity showcase

License: MIT GitHub stars

Live demo · Article on Codrops · Mirror demo

Installation

This project uses Yarn (a yarn.lock is committed, so Yarn is the canonical path).

Install dependencies:

yarn

Start a local development server:

yarn dev

Create a production build:

yarn build

Using npm instead

If you prefer npm, note that the dev dependencies pin eslint ^9 and eslint-config-next 15.1.6 while the runtime uses next 14.2.22, which causes a peer-dependency conflict on install. You can work around it with --force (it skips the peer check; it does not change the installed runtime):

npm install --force
npm run dev
npm run build

Tech stack

Credits

Original models

Misc

Follow Niccolò Fanton: Twitter, Instagram, GitHub

Follow Codrops: Bluesky, Facebook, GitHub, Instagram, X

License

MIT

Made with 💙 by Codrops

About

Optimized React Three Fiber / Next.js demo for a Codrops tutorial on performant, high-quality Three.js scenes.

Resources

Stars

25 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages