/doufu

Doufu is a WebGPU voxel engine. It's written in TypeScript so its performance is weak and soft, but it'll be easier to play around with changes.

Primary LanguageTypeScriptMIT LicenseMIT

doufu

Doufu is a WebGPU voxel engine. It's written in TypeScript so its performance is weak and soft, but it'll be easier to play around with changes. Some day, I might rewrite the slowest parts in Rust/WebAssembly.

Based on Kaaba.

Development

# Install dependencies
$ yarn

# Builds to dist/
$ yarn build

# Start development server
$ yarn dev
http://localhost:3000/

# Also builds to dist/
$ yarn build server

# Starts WebSocket server
$ node dist/server.cjs
http://localhost:10069/