Python Demonstrations

Below are some Tychos demonstration scenarios using the Python language.

The following have been designed to illustrate how to use Tychos to create various simulations, and demonstrates how certain Tychos specific objects and functions can be utilized.

Scenario Objects

The following examples show many of the attributes that you can modify for each object, but it is not an exhaustive demonstration. Please refer to the API for more details on ALL of the attrbiutes that can be accessed and modified.

Scenario Object Special Attributes

These attributes require a bit more to understand and apply, and are not available to all objects, so we felt they deserved their own catagory:

Scenario Object Mouse Event Handling

Mouse events can be handled with your own custom event handling functions for any of the Scenario Objects other than gradient objects.

UI Widgets

These are various UI widgets that can be added to your scenarios. Some widgets can be used to display information, while others can be used for data input.

Keyboard and Mouse

Every scenario can access user input from the keyboard and the mouse.

Audio

You can add audio output to your scenarios through the audio object functions.

Graphs and Charts

Data visualization tools can be used to plot points on a graph, create tables of data, or display information in a pie or bar chart.

Animation Basics

These scenarios demonstrate how you can animate the attributes of the scenario objects in order to create simulations, games or interactive digital art!

Programming and Math

Some examples of prgramming and mathematical algorithms:

Using Goals (Teachers only)

This gives you an example of defining a goal for a scenario.

Physics

Some examples of using Tychos to model simulations using computational physics:

Collisions

Tychos has a number of built in functions for detecting and helping you resolve collisions.

Fun!

Have some fun!

Last updated