Super Space Clothoids Code
The Cloc software implements the Super Space Clothoid model . This is the reference version, developped by the authors and used for the simulations that you can find in the paper.
 Romain Casati, Florence Bertails-Descoubes, Super Space Clothoids, ACM Transactions on Graphics (2013).
How to compile Cloc?
Cloc has few dependencies that you can find in most of the Linux distros.
Debian-like distros (Debian, Ubuntu, …):
apt-get install build-essential cmake libatlas-base-dev python-dev cython python-numpy python-matplotlib
RedHat-like distros (RedHat, Fedora, CentOS):
yum install cmake atlas-devel python-devel Cython numpy python-matplotlib pygtk2
Once all this depenencies are installed, unpack cloc.tgz and compile
tar xzf cloc.tgz cd cloc make
Starting with Cloc
The last command
make should have started the script
that computes a simulation of a ring falling under gravity and shows the animation. To go further, you can have a look at the PyCloc documentation that contains nice tutorials.
Matplotlib version too old
matplotlib version is too old (< 1.1), this message will probably show up
ImportError: No module named animation
This is not a serious problem, it just prevent example.py from displaying the simulation as an animation. Since the import is called just before displaying, this mean that the computation succeeded and Cloc is probably working.
A workaround could be to not use
matplotlib.animation or to update
pip install --upgrade matplotlib
pip is called
pip-python. You can check your
matplotlib version with
python -c "import matplotlib as mpl; print(mpl.__version__)"
You are welcome to contact the authors for any comments, questions or improvements:
- Romain Casati:
- Florence Bertails-Descoubes: