Skip to content

A program that calculates the n-th Penrose-Staircase and draws its image.

License

Notifications You must be signed in to change notification settings

fl3000/Penrose-Staircase-Generator

Repository files navigation

Penrose-Staircase-Generator

The Penrose-Staircase-Generator calculates the n-th Impossible-Staircase and displays its image on the computer-screen.

For browser-based livedemo visit https://ferdinandlehr.de/mathematik/penrose-staircase-calculator/

PSTAIRS.PY - The python-module that contains the PenroseStaircase-class.

VPSTAIRS.PY - The viewer for displaying the n-th Penrose-Staircase on screen.
(Requires the module pstairs.py (see above) and the external module graphics.py by John Zelle http://mcsp.wartburg.edu/zelle/python)
Usage: python vpstairs.py -n

PSTAIR_VIEWER.CFDG - For hires screen-display with "Context-Free-Art", a free software for visualizing geometric objects with a context-free grammar. See https://www.contextfreeart.org

Written 2022 by F. Lehr

vpstairs

Penrose_Stairs_035_320x200

Penrose_Stairs_035_smallest_staircase_320x220

Penrose_Stairs_035_for_Reutersvard_and_Escher_320x214

Penrose_Stairs_035_Castle_of_the_Wizards_320x259

Releases

No releases published

Packages

No packages published

Languages