subject

Pointillism is the name of a painting technique where patterns of coloured dots are used to form the coloured regions of an image. For this assignment, you will practice with looping control structures to create a program that can read in a source image and create a larger 'new' version of that image (i. e., scaled up by an integer value) using a pointillist style. Your program will visit each pixel in the source image and then draw several coloured points on the larger image at corresponding (but slightly randomized) positions. • must NOT import anything other than the pygame, random, and sys libraries
• must get the name of the source image as a command-line argument
• must use nested loops to visit each pixel of the source image and get its colour value
• must use one or more loops to draw an appropriate1 number of 'points' in your 'new' image
• must randomly alter the position of the drawn 'points' in your 'new' image2
• must NOT use colours for drawing 'points' other than red, green, blue and (if you wish) black
• can assume that the user will always provide the name of a valid image when prompted


Pointillism is the name of a painting technique where patterns of coloured dots are used to form th

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:30
Experimental data that is expressed using numbers is said to be
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
On early television stations, what typically filled the screen from around 11pm until 6am? test dummies test patterns tests testing colors
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Afiling system in which an intermediary source of reference, such as a file card, must be consulted to locate specific files is called a(n) system. a. shelf filing b. direct filing c. indirect filing d. shingling
Answers: 1
question
Computers and Technology, 24.06.2019 21:30
Write an algorithm to check if a number is even or odd and show with flow chart step by step
Answers: 2
You know the right answer?
Pointillism is the name of a painting technique where patterns of coloured dots are used to form the...
Questions
question
Arts, 07.01.2021 18:00
question
Mathematics, 07.01.2021 18:00
question
Mathematics, 07.01.2021 18:00
question
Social Studies, 07.01.2021 18:00
Questions on the website: 13722361