multi-threaded CLI engine for generating geometric and numerical ASCII patterns based on user-specified dimensions.
the engine utilizes a modular Patterns class coupled with multi-threading to handle pattern rendering isolated from the main control loop.
Patterns.triangle(n)- renders a left-aligned right-angled star triangle of heightn.Patterns.pyramid(n)- renders a centered, space-padded symmetrical star pyramid.Patterns.numberPyramid(n)- renders an ascending numerical pyramid preserving column alignment.main()- interactive console loop prompting dimension size, managing execution threads, and handling screen refreshes.
python patterns.pyinteractive choices:
- right-angled star triangle
- centered star pyramid
- numerical pyramid
- exit