Skip to content

Repository files navigation

Term Fluid Simulation

term-fluid.png

介绍

一个终端流体模拟小玩具,灵感来自这里

玩法

  • 编写一个文本
    • 1234567890-=+*@█.:x被识别为水
    • #被识别为墙
  • ./fluid < 你的文本.txt
  • Enjoy yourself!

你可以修改代码来改变它的行为

编译

可能需要c++17编译器

g++ main.cpp -std=c++17 -O3 -march=native -o fluid

例子

./fluid < hourglass.txt

hourglass.gif

About

A simple terminal fluid simulation.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages