Skip to content

Many different python scripts to implement mathematical objects in graphics (using OpenGL)

Notifications You must be signed in to change notification settings

tthtlc/sansagraphics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sansagraphics

What is it

Miscellaneous scripts to implement mathematical objects in graphics.

How to see the drawing

To see the list of drawings with fixed timers installed:

Run bash mystart.sh

For example, to see "Twisted Ribbon Surface" in action:

python twisting_ribbon_surface.py

What are the python packages to be installed?

At runtime you may discover missing python modules, just Google for it and install it. For example, for Ubuntu 14.04, here are some of the additional steps needed:

sudo easy_install pyopengl

sudo easy_install matplotlib (which include pylab)

sudo apt-get install python-scitools python-matplotlib

sudo apt-get install python-pygame python-pyglet

sudo apt-get build-dep python-pygame

sudo apt-get install python-tk python python-numpy python-opengl python-qt4 python-qt4-gl

sudo apt-get install qt

sudo apt-get install libc6-dev build-essential

sudo apt-get install libglib2.0-dev zlib1g-dev

sudo apt-get install linux-tools-common

For Ubuntu 12.04:

sudo apt-get install python-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libsmpeg-dev python-numpy subversion libportmidi-dev ffmpeg libswscale-dev libavformat-dev libavcodec-dev

For Ubuntu 14.04:

sudo apt-get install freeglut3-dev

About

Many different python scripts to implement mathematical objects in graphics (using OpenGL)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published