Skip to content

distributed computing on mesh grids for real time apps

License

Notifications You must be signed in to change notification settings

x75/smp_meshgrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexgrid project

a simulation and realtime monitor / interface to spatial structures. the structure is defined as a mesh which can be rendered and also serve as a structure to organize computing modules with spatial properties.

requirements

  • pygame
  • pyopengl
  • numpy, scipy - can also be installed with distribution tools
  • pyliblo - python wrapper for liblo OSC library
  • trimesh, meshpy - mesh libraries
pip3 install pygame pyopengl numpy scipy pyliblo trimesh pyzmq joblib meshpy

running scripts

to run the demo go into the project directory

cd smp_meshgrid

trigrid_display

then start the GL display with

python3 scripts/trigrid_display.py --width=1600 --height=900

trigrid

this contains the model, and when running loads a mesh and sends vertex, edge and face information derived from model states to the display server. run it with

python3 scripts/trigrid.py

trigrid modes

there is a few predfined meshes (hexagon, line, ...). the model can run on its own and it can be connected with the physical hexagon using libsensorimotor

then there are a few modes that serve as simple demo and starting points for extending the activation and coupling rules.

  • threshold crossing triggered activation with lateral coupled neighbors
  • TODO: random activation and isotropic propagation
  • TODO: liquid model

modules

  • oscsrv
  • sensorimotor

misc

bla

About

distributed computing on mesh grids for real time apps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages