https://github.com/jahidulpabelislam/patchwork-sampler
Graphical display using user input
https://github.com/jahidulpabelislam/patchwork-sampler
Last synced: 10 months ago
JSON representation
Graphical display using user input
- Host: GitHub
- URL: https://github.com/jahidulpabelislam/patchwork-sampler
- Owner: jahidulpabelislam
- Created: 2016-02-18T14:48:18.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-05-30T21:36:49.000Z (over 6 years ago)
- Last Synced: 2025-01-20T13:41:16.364Z (12 months ago)
- Language: Python
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Patchwork Sampler
During the 1st year of my degree (2014), I was tasked to create a visual display of 2 different patchworks using Python on IEP environment.
There are two preset patchwork styles, valid set of 6 colour choices & 3 valid sets of the number of rows/columns. Patchwork one is displayed at the 1st column and two bottom rows and the rest is patchwork two. And the final display of the patchworks is defined from user inputs.
The colour of each patchwork item is chosen from the order of users colour choice inputs (for example the user inputted red, green, blue & yellow therefore the colours of patchworks is in this order and from left to right the colour of each is set using this order).
The display is interactive is such that when a patchwork is clicked the colour of it changes to the next colour from the colour inputted order.
I used graphics.py as the graphics module.