Week 9


This week I created a window to run my script. It now allows the user to input a number for a custom tiered pyramid.

The UI consists of a window with a column layout, an integer slider (cubeS) that allows the user to specify the size of the pyramid, and two buttons. The "Create Pyramid" button calls the pyramid function with the arguments 1 and 10, which will create a pyramid with a height of 1 and a base of size 10. The "Close" button closes the UI window when clicked.

When the script is run, it will create the UI and the user will be able to create pyramids by adjusting the slider and clicking the "Create Pyramid" button.

Leave a comment

Log in with itch.io to leave a comment.