Tuesday, June 14, 2011

Work for week 6/14/2011

1. Consulted with Eddie on how to fix Textures - now all work as expected.

2. Deployed latest version of CC on ccd.rpi.edu server.

3. Revising RugWeaver (on going) to use as Kente Cloth simulation.

Triangle test

Tuesday, June 7, 2011

Work for week 6/7/2011

1. Figured out textures and made them persistent at the plait level.

2. Fixed reset so that it works as expected.

3. Fixed x,y display so that it shows the correct coordinates.

Test

 

4. made a start on updating rug weaver.

 

Tuesday, February 22, 2011

Cornrow Curves



Above is a screen clipping that shows the programmatic creation of two plait braids within in the same object. The reset plait codelet resets the values to the default image, GOTO places that image at another location on the screen and then the iteration draws the second braid.




This screen clipping shows the creation of a braid that contains a change to the rotation value which makes the braid change direction.




This construction, however did not work and I see no reason for this.

In addition I tidied the code that occurs on 'reset' so that the stored values are consistent with the codelet values when the code runs again. For example, the color value would be the last used color when it should really be the original color value determined in the properties panel.

In addition I have updated the validation code for the properties panel values to be consistent with Skateboarder.

Thursday, January 27, 2011

Cornrow Curvew Continued




1) Remove 'start braiding' codelet
Start braiding codelet has been replaced with the properties listed in the properties panel and changes are reflected in the behavior of the program.

2) Implement xy reflection codelet
Already done.

3) Values showing in properties panel
Done in number 1 above.

4) Vector on and off toggle w/ default of false
Done.

5) Grid can now be toggled on and off with the default set to on.

6) You can now set the background color - I have dimmed the background from bright white (255, 255, 255) to (200, 200, 200). I think it's a little less straining on the eye.

7) Default values have been implemented in all codelets.

8) Adjusted the default values for the default script.
9) Changed the screen size so that when the applet starts the Cartesian gird appears as square - reducing the distortion on the Plait.
10) Changed the Reflection codelet from using 0 = false and 1 = true to just false and true with false being the default value.

Monday, January 24, 2011

Cornrow Curves

The result of clicking 'Begin' with three objects defined.

The result of clicking stop and Clear Drawing.

Fixed default script so that it shows properly when the program starts. Reworked start up script so that it incorporates the 'Repeat while' iterative control. Working on class attributes so that each instance of the class retains its own values, for example the color attribute. I think this is fixed now, with different braids retaining the different colors that were set for them.

I saved the .xml file, however the applet froze when I 'opened' it.

I have adjusted the code so that when you click 'clear drawing' the original plaits show in their original position. Previously, the last plait drawn remained on the screen. The starting position makes more sense I think. CC needs additional debugging and I am happy to continue working through that.

FQ and MG have both been updated with the new core and both have had their default scripts updated so that they work in the new format.

Sunday, November 14, 2010

RugWeaver is deployed.




The last couple of days have been extremely productive in bringing RugWeaver to a usable state. All of the classes have been rewritten and all of the non-iterative shapes can now be used with the iteration codelets. The two pictures show the RugWeaver Applet running with the default script executed. The first shows a stamping of rectangles that get progressively lighter, where the Pattern object is selected (red boxes around purple circles). The second shows the applet running the default script with the grid codelet being used to turn off the coordinate grid.

It is very exciting to see the program finally in a usable state. I look forward to receiving feedback from the students who use it!
The deployment is available here.

Monday, October 25, 2010

Rug Weaver almost there...



Rug Weaver is nearly complete in terms of being a drawing program. I have added in functionality for drawing triangles, triangular iteration, linear iteration, and the needle class which replaces lines, points and rectangles. I just noticed that the needle class needs a 'fade' codelet, and I know I have to play with the hit tests to make sure that they all work. The rest of the program as described works great. The image above was created interactively, demonstrating each of the shapes, with no complaints from the software. I also greatly cleaned up the code and deleted all files that are no longer used!