A flask, clifford and threejs/javascript visualiser for 4,1 CGA, hosted on heroku
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
static
templates
.deployment
.gitignore
ExampleNotebook.ipynb
Procfile
README.md
cef_gui.py
gaonline.py
gaonline.sh
icon.png
icon.xcf
main.py
ptvs_virtualenv_proxy.py
requirements.txt
web.3.4.config

README.md

GAonline

A flask, clifford and threejs/javascript visualiser for (4,1) Conformal Geometric Algebra (CGA) .

Created by Hugo Hadfield

Use it now

A Heroku deployment of this project can be found here: https://gaonline.herokuapp.com/

A tutorial coving basic usage can be found here: https://hugohadfield.github.io/GAonline/index.html

The project is intentionally fairly barebones, although help on improving the interface would be very appreciated!

The key goal of this project is to be able to visualise conformal objects that are very hard to think about otherwise. With this visualiser there is minimal installation (none if you use a web deployed version!) and the code is incredibly simple.

Setting up and running the server

First clone this repository and ensure you have the required packages on your machine Flask>=0.12.1 clifford>=0.81

The flask server can be started by running: python main.py

It works very well when run locally, I find an especially useful combination is to use embedded chrome with a flask server as shown here: https://github.com/hugohadfield/cefFlask

A note on performance

This is a very 'lazy' implementation in that it falls back on server side clifford to do all the heavy lifting, this would not be a good way of doing things for a real production site as it will be bandwidth and sever side heavy.