Skip to content
/ model Public

Visual modelling kit to simulate mathematical models using Python.

Notifications You must be signed in to change notification settings

HN67/model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Model

A system to visualize mathematical models using Python and Pygame.

Implementation of a model is done by subclassing the base.Model class with a constructor and attributes representing model state, and implement the base.Model.visual() method to return a Pygame surface holding a visual representation of the model.

Also, usually the base.Manager class is subclassed to hook the Model to Pygame display and events to show output and allow interactivity.

An example implementation is the stargon module, which draws pointed stars. The implementation currently hooked to main is projection, which projects a 3D environment onto the screen.

Projection

Dependencies
pygame
pyquaternion

Controls

Key Action
W Pan Up
A Pan Left
S Pan Down
D Pan Right
Q Pan Out
E Pan In
Look Up
Look Left
Look Right
Look Down
< Tilt Left
> Tilt Right

About

Visual modelling kit to simulate mathematical models using Python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages