Code Monkey home page Code Monkey logo

gaonline's Introduction

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.

gaonline's People

Contributors

ereide avatar hugohadfield avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gaonline's Issues

Sphere seems not to be displayed unless dual is taken

Hello. I found a wonderful project clifford and GAOnline implementing conformal geometrics and visualizations, and it is very convenient for me, GA learner.

I tried to display spheres, but I have to take dual only for visualizing spheres. It seems that spheres should have same dimensions with planes.

Here is my implementation using clifford.
https://github.com/ctylim/geometric-algebra/blob/master/notebook/inverse_kinematics.ipynb

I still have shallow understanding in CGA and need to keep learning but I would like to contribute if I can, thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.