Giter Site home page Giter Site logo

sean1832 / baku Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 16.56 MB

High-performance grasshopper plugin for simulating large number of particles using GPU acceleration.

License: Apache License 2.0

C# 94.16% Batchfile 0.29% Python 5.55%
boids-simulation gpu-acceleration grasshopper grasshopper3d ilgpu rhinoceros particle-simulation

baku's Introduction

BAKU

High-performance Grasshopper 3D plugin for simulating large number of particles using GPU acceleration.

baku-demo-v0.1.0.mp4

โญ If you like this project, please consider giving it a star!

๐Ÿ’ก This project is early in development. If you encounter any issues, please report them in the issues section.


๐Ÿ“˜ About

This project started as a personal experiment to learn about GPU programming and high-performance computing. The goal is to create a high-performance particle simulation plugin for Grasshopper 3D using GPU acceleration. The project is named after the Japanese mythical creature Baku which is said to consume nightmares.

๐ŸŒŸ Features

  • Real-time simulation of large number of particles with Boids algorithm
    • 10k particles in real-time on a RTX 4090
    • Currently unoptimized (looping all the boids positions), expect better performance in future releases.
  • GPU accelerated using ILGPU
    • Up to 100x faster than CPU
    • Supports CUDA and OpenCL
    • Supports CPU fallback
  • Customizable boid and particle behaviors
  • Particle trails

๐Ÿ“ Planned Features

  • Spatial Hashing algorithm for performance improvement.
  • Attractor and repeller points
  • Obstacle avoidance
  • Boundary repulsion (currently particles are confined to a box)
    • Boundary repulsion is implemented since v0.1.0.

๐Ÿ–ฅ๏ธ Installation

  • Download the latest release from the releases page.
  • Unzip the file under the Grasshopper Libraries folder.
  • Unblock the DLLs by right-clicking on the files, selecting properties, and clicking the Unblock button.
  • Restart Rhino and Grasshopper.

๐Ÿ“œ License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

๐Ÿค Contribution

Contributions are welcome! Please follow standard contribution guidelines.

๐Ÿ”— References

baku's People

Contributors

sean1832 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.