Page 1 of 1

#20 Colouring in

Posted: Thu Mar 20, 2014 12:47 pm
by CodenStuff
Welcome to challenge #20

Colouring in


Your challenge for today is to create a "Colouring in" application, like a paint program but with only 1 function...FILL.

So let's say you have a form that looks like this, with an outline image loaded in to the main part and colour selection at the side:

Image

Now the user can select a colour and fill in the image sections:

Image

The application must allow the user to load a plain outline image and then simply fill it in using the colours they select in 1 click.

Rules for this challenge:
User must be able to load an image of their choosing.
It can only allow the user to FILL the sections of the image with selected colour, not paint like with a brush.


Good luck cooll;

Re: #20 Colouring in

Posted: Thu Mar 20, 2014 3:35 pm
by Dummy1912
yay paint app :lol:

Re: #20 Colouring in

Posted: Thu Mar 20, 2014 7:09 pm
by comathi
Behold, the world's most fabulous cow :lol:

http://projects.comathi.com/mm/2014/colouring.zip

Image

Edit: Added a tolerance selector to smooth out the fill if you wish

Re: #20 Colouring in

Posted: Fri Mar 21, 2014 10:28 am
by Usman55
I call my app "Flood The Paint Away". Completed in 2 hours.