Examples

Demo script

Run the bundled demo:

python example_tachypy.py

Run the fullscreen GLFW clock and stop-timer demo:

tachypy-clock-demo

From a source checkout:

python clock_timer_demo.py

Use Esc to quit, click START/STOP/RESET, or use Space and R. For windowed development, run:

tachypy-clock-demo --windowed

Select backend explicitly:

TACHYPY_BACKEND=glfw python example_tachypy.py
TACHYPY_BACKEND=pygame python example_tachypy.py  # legacy compatibility

Notes

  • The demo defaults to GLFW and OpenGL/system-font text renderers.

  • Legacy pygame mode requires installing tachypy[pygame].

  • On constrained CI systems, set TACHYPY_AUDIO_BACKEND=dummy.