Skip to content
Yuanming Hu edited this page Feb 28, 2018 · 5 revisions

Installation

Suppoprted Platforms:

  • Ubuntu (gcc 5+)
  • Mac OS X (gcc 5+, clang 4.0+)
  • Windows (Microsoft Visual Studio 2017)

Make sure you have python 3.5+.

Ubuntu, Arch Linux, and Mac OS X

wget https://raw.githubusercontent.com/yuanming-hu/taichi/master/install.py && python3 install.py

Windows

Download and execute this script with python3.

Additional environment variables: (supposing taichi is installed in DIR/taichi)

  • Add DIR/taichi/python to PYTHONPATH
  • Add DIR/taichi/bin to PATH

View results

python3 $TAICHI_ROOT_DIR/taichi/python/examples/server/main.py 

Then open page http://localhost:1111. Choose a simulation output, press P to play, R to change frame rate (faster/slower).

Examples

Please see examples.

Clone this wiki locally