Skip to content

Bharath-970/AetherFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒŒ Aether Flow

Aether Flow is a high-performance, WebGPU-powered particle simulation that computes complex gravitational and vortex physics for over 262,000 particles in real-time. Featuring a premium glassmophism UI and TSL-powered shaders, it provides a stunning visual playground for exploring dynamical systems.

Interactive Swarm (Note: Add your own screenshot to the repo to show it off!)

๐Ÿš€ Live Demo

Coming soon! (Host this via GitHub Pages by enabling it in Settings > Pages)

โœจ Key Features

  • ๐ŸŽ๏ธ WebGPU TSL Shaders: Leverages the next-gen Three.js Shading Language (TSL) to compute all physics directly on the GPU at 60 FPS.
  • ๐Ÿ”ฎ Premium Glassmorphism UI: A sleek, frosted-glass control panel with interactive tooltips and real-time physics monitoring.
  • ๐ŸŒ€ Dynamic Physics Engine:
    • Newtonian Gravity: Realistic mass-based attraction.
    • Vortex Spin: Adjustable angular momentum for galaxy-like structures.
    • Viscous Trapping: Localized damping logic to capture particles in stable clusters.
    • Periodic Boundaries: Wraparound world logic for infinite-looping swarms.
  • ๐Ÿ› ๏ธ One-Click Presets: Instantly switch between Storm, Galaxy, Void, and Pulse configurations.

๐Ÿ•น๏ธ Controls

  • Mouse: Orbit around the simulation.
  • [G]: Toggle the UI dashboard.
  • [H]: Toggle attractor helpers/gizmos.
  • [Space]: Pause/Resume the simulation.
  • [R]: Reset the swarm and UI defaults.

๐Ÿ› ๏ธ Requirements

This project requires a browser with WebGPU support:

  • Chrome 113+
  • Edge 113+
  • Firefox Nightly (with dom.webgpu.enabled flag)
  • Safari Technology Preview

๐Ÿ“ฆ Getting Started

  1. Clone the repository:
    git clone https://github.com/Bharath-970/AetherFlow.git
  2. Serve the directory using a simple local server (WebGPU often requires a secure or local context):
    # Using Python
    python3 -m http.server 8080
    
    # Using Node.js
    npx serve .
  3. Open http://localhost:8080 in your browser.

๐Ÿ“œ Credits

Built with Three.js and inspired by the official WebGPU attractor examples.

About

A high-performance WebGPU particle simulation featuring 260k+ particles, TSL-powered gravity physics, and a premium glassmorphism control dashboard.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages