Link Search Menu Expand Document

arena-py Documentation and Tutorials

Tutorials

Part 1

Part 2

Part 3

Part 4

Code for these tutorials can be found in our Python Examples.

General Documentation

See ARENA Documentation: Python.

A simple program

from arena import *

# create library
scene = Scene(host="arenaxr.org", scene="example")

@scene.run_once # make this function a task that runs once at startup
def main():
    # make a box
    box = Box(object_id="myBox", position=(0,3,-3), scale=(2,2,2))

    # add the box to ARENA
    scene.add_object(box)

# start tasks
scene.run_tasks()

Table of contents