No description
  • JavaScript 68.7%
  • GLSL 22.5%
  • CSS 5.2%
  • HTML 2.9%
  • TypeScript 0.7%
Find a file
2026-07-07 12:42:14 +03:00
src source 2026-07-07 12:42:14 +03:00
static source 2026-07-07 12:42:14 +03:00
.env source 2026-07-07 12:42:14 +03:00
.gitignore source 2026-07-07 12:42:14 +03:00
LICENSE source 2026-07-07 12:42:14 +03:00
package.json source 2026-07-07 12:42:14 +03:00
pnpm-lock.yaml source 2026-07-07 12:42:14 +03:00
readme.md source 2026-07-07 12:42:14 +03:00
vite.config.js source 2026-07-07 12:42:14 +03:00

Attribution — this is a faithful community port. Upstream: https://github.com/franky-adl/threejs-fish-simulation Author: franky-adl · License: MIT · Ported from commit 3d9e364 Changes: build glue only (Genex embed-SDK boot + this notice). All credit for the code and idea goes to the original author.

Fish(Boids) Simulation in Three.js

This project is a fish schooling behavior simulation using the Boids algorithm implemented in Three.js, using GPGPU technique and instanced mesh. Code structure heavily inspired by Three.js Journey course.

Inspirations/References

Setup

Download Node.js, and install pnpm package manager. Run this followed commands:

# Install dependencies (only the first time)
pnpm install

# Run the local server at localhost:5173
pnpm dev

# Build for production in the dist/ directory
pnpm build