CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-asciimatics

tessl install tessl/pypi-asciimatics@1.15.0

A cross-platform package to replace curses (mouse/keyboard input & text colours/positioning) and create ASCII animations

Agent Success

Agent success rate when using this tile

81%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.33x

Baseline

Agent success rate without this tile

61%

task.mdevals/scenario-1/

ASCII Art Kaleidoscope Display

Create a Python program that displays a kaleidoscope effect in the terminal. A kaleidoscope creates rotational symmetry by mirroring a base pattern multiple times around a central point.

Requirements

Your program should:

  1. Create a base ASCII art pattern to use as the source for the kaleidoscope (e.g., text rendered as ASCII art, a simple shape, or any pattern)
  2. Apply a kaleidoscope transformation to create rotational symmetry from the base pattern
  3. Display the kaleidoscope in the terminal
  4. Animate the kaleidoscope by rotating it continuously
  5. Run the animation for at least 100 frames before exiting

The program should be runnable from the command line as python kaleidoscope_demo.py.

Implementation

Create a file kaleidoscope_demo.py that implements the kaleidoscope display.

Test Cases

  • When run with python kaleidoscope_demo.py, the program displays an animated kaleidoscope pattern in the terminal @test
  • The kaleidoscope displays rotational symmetry derived from a base pattern @test
  • The animation runs for at least 100 frames @test

Dependencies { .dependencies }

asciimatics { .dependency }

Provides terminal graphics and animation support for creating kaleidoscope effects with rotational symmetry.

@satisfied-by

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/asciimatics@1.15.x
tile.json