Tuesday, August 24, 2010

It has been a pleasure working with the other developers this summer. All of the CSDT tools have come so far in such a short time. Here is an image of the Rug Weaver tool with my attempt at a Kente pattern that I found online...




Eddie has made really great progress on the outstanding Core issues. I am working at becoming a greater help to him, as I have been reading quite a lot to improve my java skills, I aspire to be as competent as he is someday. I have started to rethink how Rug Weaver could be reworked using iteration, although that code is not far enough along to demo at this point.

I look forward to continuing my work on these projects this fall.

Tuesday, August 10, 2010

Over the last few work periods, I have spent a fair amount of time figuring out textures. Along the way I have discovered that my implementation is correct (or at least seems to reliably work) except when the applet window is dragged to be bigger than when it is first drawn to the screen. Initially thought to be a flaw in my implementation, I now suspect that the code that responds to the viewport listener resize event is not quite correct.

I have started working on bounding boxes for the various shapes available in rug weaver. Point and Rectangle are done, Line needs to be figured out for diagonal drawings, Triangle is mostly done but needs to respond differently depending on the orientation of the triangle. So this is still a work in progress. Here is an image showing the bounding box drawn about the triangle as that is the selected object in the picture.



I need to finish up the bounding box implementations - figuring out orientation for Triangles, and deciding how the irregular shapes should be bound.

I have also updated the saved xml files to work with the new version of rug Weaver, and I have implemented all codelets with default values.

I also think that the random naming convention for objects needs to change. Something meaning full like 'Object_1' for the first object created etc. is more meaningful than the current random string.