Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chunleili/tiMusicFluid
taichi Hackathon 参赛
https://github.com/chunleili/tiMusicFluid
Last synced: about 2 months ago
JSON representation
taichi Hackathon 参赛
- Host: GitHub
- URL: https://github.com/chunleili/tiMusicFluid
- Owner: chunleili
- Created: 2022-11-19T07:53:01.000Z (about 2 years ago)
- Default Branch: dev
- Last Pushed: 2022-12-04T02:57:01.000Z (about 2 years ago)
- Last Synced: 2024-08-02T11:23:58.306Z (5 months ago)
- Language: Python
- Size: 68 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-taichi - tiMusicFluid - Make fluid dance with the music. A fun fluid simulation based on Taichi. (Applications / **Simulation**)
README
# tiMusicFluid
taichi Hackathon 参赛:随着音乐起舞的流体仿真模拟。- 团队名:啊~对对队-
- 项目名:tiMusicFluid (音乐流体)## 项目介绍
随着音乐起舞的流体仿真模拟。
从python / Houdini 预处理音频文件,得到数据后送入taichi所写的物理仿真程序(SPH)。根据音频数据改变施加到每个粒子上面的受力,从而让流体随着音乐“起舞”。最后送入Houdini渲染结果。
灵感来源:请看这个MV: https://www.youtube.com/watch?v=Q3oItpVa9fs
## 项目步骤
1. 对音乐进行频谱分析和采样
2. 转换音频数据为冲量,结合taichi的流体引擎进行仿真
3. 渲染仿真结果
## 借助软件/项目
商软(用于音频处理和渲染):Houdini开源库(流体引擎):zmr的SPH_Taichi https://github.com/erizmr/SPH_Taichi
## Demo
![image](https://user-images.githubusercontent.com/48758868/205471699-818f3244-9982-48e9-8c42-5b0934e6f815.png)https://user-images.githubusercontent.com/48758868/205440079-aa5fb6e1-3840-4419-b187-56ced810dd48.mp4