Monday, May 3, 2010

Work Progress - Apr 30 - May 3

Drawing borders for the Graffiti shapes

It looks like there are two ways to produce the borders we need for the graffiti shapes. See the following hand drawing for an example.


* The first shape can be reproduced in the program by drawing the background shadow (of a bit larger scale - example and/or a bit displacement - example) first, before drawing the foreground shape. The screenshot below shows the existing code manages to work for both cases.




Align Center

TODO: In long term, I would like to extend the DrawingModule code, and provide an interface InvokeDrawingModule(ModuleName, Scalew, Scalex, Scaley, Offsetx, Offsety) to allow arbitrary offset, scaling and rotation before using the drawing module.

* The second shape can be drawn by incorporating border to line drawing, which starts from the bottom, and then goes up, takes a circular track and finally runs past the previously-drawn vertical stroke. However, I don't prefer this approach as it does not mimic the way graffiti shapes are drawn. If the purpose of the program is to teach how graffiti is drawn, this may not be a good way to go.

No comments:

Post a Comment