Skip to content

Dimas0906/ThreeJS-Galaxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Three.js Galaxy


Preview Prorject

image


Project Setup

Download Node.js. Run this followed commands:

# Install dependencies (only the first time)
npm install

# Run the local server at localhost:8080
npm run dev

# Build for production in the dist/ directory
npm run build

Core Concept :

  • Float32Array to handle Positions and Colors of each particle
  • Dispose old geometry after update
  • Custom Tweaks using Lil-Gui
  • Trigonometry (Sin & Cos) to handle position of each particle to decide Horizontal and Depth

About

ThreeJS Galaxy Generator (Particle)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •