This repository was archived by the owner on Jun 4, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
39 lines (31 loc) · 1.36 KB
/
README
File metadata and controls
39 lines (31 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
mypaint:
I have made a simple drawing program that has the following features:
Draw points
Draw lines
Draw Circles (wireframe only)
Draw Rectangles (wireframe only)
FloodFill shapes
8 different colors to choose from
keyboard character input for selections
right-click mouse menu system
switch between two pixel sizes
clear / reset drawing
keyboard mappings;
keys: function:
0-9 change color (WHITE,BLACK,RED,GREEN,BLUE,CYAN,YELLOW,MAGENTA,ORANGE,PURPLE)
p point mode
l line mode
c circle mode
r rectangle mode
f floodfill mode
b pixel size
x clear screen
q quit / exit program
*menu selections same except for color selection.
To draw a line:
left click on starting point, move cursor and click again a line is drawn between points
to draw a circle:
left click on starting point, move cursor and circle is drawn with radius size calculated from point distance
to floodfill:
You first must have a closed shape like a circle or rectangle, or even make your own by connecting lines. Click inside the shape and it will be filled with the currently selected color.
** WARNING: do not attempt to fill an object that is not closed, or has multiple points / weird shapes inside of it as the floodfill algorithm may get stuck in infinite loop or have memory overflow.