https://github.com/chengluyu/chinavr-2020
Our product of ChinaVR competition Taichi track.
https://github.com/chengluyu/chinavr-2020
Last synced: 2 months ago
JSON representation
Our product of ChinaVR competition Taichi track.
- Host: GitHub
- URL: https://github.com/chengluyu/chinavr-2020
- Owner: chengluyu
- Created: 2020-08-27T13:41:47.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-07T18:37:37.000Z (almost 5 years ago)
- Last Synced: 2025-02-08T16:14:40.772Z (4 months ago)
- Language: Python
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Billow
Control particle-based fluid by your sound.
## Usage
1. Install packages: `pip install -r requirements.txt`.
2. Run the program: `python main.py`.P.S. If microphone cannot be detected. Run `python main.py -l` to find the microphone ID.
Then run `python main.py -d ` where `` is the microphone ID.P.P.S. If you're using macOS (any version after Mojava), you should run it in Terminal.
Don’t do it in VSCode’s built-in terminal because it won’t ask for microphone permission.## Credit
* The spectrum visualization code is from [`sounddevice`’s example](https://python-sounddevice.readthedocs.io/en/0.4.0/examples.html#real-time-text-mode-spectrogram).
* The 3D PBF code is from Taichi forum user [@lqxu](https://forum.taichi.graphics/t/homework2-3d-pbf/1102)’s [implementation](https://github.com/jackylovechina/taichidemo/blob/master/PBF_3D.py).I'm very ashamed that I made such small contributions. 🌚
很惭愧,只做了一点微小的工作。