<h1 class="main_title">

Calum J. Macdonald

</h1>

<div class="navigation">
</div>
<div class="main_body">

<div class="project_title">

Bitmap Editor Simulator

2012

Python

</div>
<img class="project_image">


</img>

<div class="project_summary">

This application is designed to replicate a few common standard features of bitmap graphic editors through a console interface using text characters in replace of colours.

"I X Y" will create an image array for editting where X and Y are the dimensions, eg I 20 15 creates a 20x15 array.

"L X Y C" will colour an element (pixel) of the array where X and Y are the coordinates and C is the character that represent the colour, eg L 3 4 G sets the value of (3,4) to G.

"V X Y1 Y2 C" will create a vertical line on the array between (X, Y1) and (X, Y2) of the colour C, eg V 1 3 6 G creates a line of G between (1, 3) and (1, 6).

"H X1 X2 Y C" will create a horizontal line on the array between (X1, Y) and (X2, Y) of the colour C, eg H 1 3 6 G creates a line of G between (1, 6) and (1, 3).

"F X Y C" will set the value of (X, Y) and every connected of the same value pixel to C, eg F 5 5 G will fill the area surrounding (5, 5) of the same value to G.

"C" will clear the array to the default value.

"S" will display the array.

"X" will close the application.


</div>

<div class="downloads">


</div>

</div>
<div class="footer">


</div>