nociza / SmokeSculpter

Realtime 3D smoke simulator using WebGL and Threejs

Home Page:https://nociza.github.io/SmokeSculpter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Smoke Sculptor

Smoke Sculptor is a real-time 3D smoke simulation written in three.js using the Eulerian method.

Controls

  • Left click and drag to rotate camera
  • Right click and drag to move camera horizontally
  • Left click and hold to add smoke (when mouse is above the rendering cube)
  • Scroll to zoom in/out
  • Space to reset camera
  • R to reset simulation
  • N to add Object where the mouse is [TODO]

Developement

npm install to install dependencies

npm run dev to start dev server

npm run build to build project for production and export to docs/demo/ folder for github pages

Limitations

  • Currently change background color only works in velocity mode

About

Realtime 3D smoke simulator using WebGL and Threejs

https://nociza.github.io/SmokeSculpter/


Languages

Language:TypeScript 55.4%Language:GLSL 24.0%Language:JavaScript 19.9%Language:HTML 0.7%