Skip to content
forked from arenaxr/arena-py

Python library for accessing the ARENA

License

Notifications You must be signed in to change notification settings

mwfarb/ARENA-py

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ARENA Py - Python Examples

Draw objects in the ARENA using Python.

Documentation

The ARENA Python library user guide and tutorials: ARENA Documentation: Python.

Setup

Install package using pip:

pip3 install arena-py

Hello ARENA

  1. View the ARENA at https://arena.andrew.cmu.edu?scene=hello
  2. Run the hello.py example:
cd examples
python hello.py

hello.py

import arena
arena.init("arena.andrew.cmu.edu", "realm", "hello")
arena.Object(objType=arena.Shape.cube)
arena.handle_events()

arena.py Library

The above is the simplest example of an ARENA Python program. This library sits above the ARENA pub/sub MQTT message protocol: JSON messages described in more detail at https://github.com/conix-center/ARENA-core which runs in a browser. That forms a layer, in turn, on top of A-Frame and THREE.js javascript libraries.

ARENA-py Repository Files

About

Python library for accessing the ARENA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%