Tuesday, October 11, 2011

Work for week 10/11



Deployment issues with both Cornrow Curves and Kente Cloth have been worked out and the new applets with the revised goal images are now deployed.

I have also been working on additional testing and code optimization for Kente Cloth.

Kente Cloth, complete with goal images and current text is available here.

A culture neutral version of Kente Cloth has been deployed here.

The latest version of Cornrow Curves is available here.

In addition, I have made a start in coloring the tabs.

Wednesday, October 5, 2011



1) Debugged Kente cloth application.

2) worked on goal image panel to make the images consistently load in a 'same size' button label.

3) Updated .html formats in Kente and CC to be consistent.

Tuesday, September 13, 2011

Work for week ending September 14

The Goal images panel is almost complete. When it loads, it places 4 goal images per page along with an editor pane that shows the HTML text associated with the image. I have added a scrollbar and set the goalImages pane to an initial size equivalent to the Applet. I think this is suitable for small screens especially, that when the panel loads it is navigable.

Previous accomplishments that did not get blogged about include...
Change 'Properties' to 'Sensing'.
Change 'Basic' to 'Starting Values'.
Prioritize order of sensing and codelets.

Goal images panel will be complete and deployed shortly, it is still in the debugging stage.



Before Selection.

After Selection

Tuesday, August 2, 2011

Work for week 7/31 - 8/6

Made changes to the demo scripts for CC as requested by Ron, and redeployed the applet to the ccd server.

 

Image1

 

KC:

Changed codelet goto x,y into Set x and Set y. This will allow changing the individual values of x or y without affecting the other value.

Exposed both x and y in the properties pane for use in building scripts.

Constructed sample Kente Cloth script.

Kente

Redepoyed applet onto ccd server.

 

Sunday, July 24, 2011

Work for week 7/24 - 7/30

Cornrows Demo

Cornrows...

Fixed initial plate angle, changes in the properties panel are now immediately reflected on the screen.

Changed drawing order of plaits so that the initial plait is drawn first which may result in it's being covered by subsequently drawn objects, but intuitively still makes sense. When changes are made, for which the initial plait needs to be seen, the screen clears revealing it anyway.

Scrollbar now seems to consistently appear when the script grows longer than the panel.

Deployed changes to Cornrows.

Kente Cloth...

Implemented translateX and translateY, removed code left from Cornrows that doesn't apply.

Implemented automatically drawing the weave shapes.

KC is deployed (finally) here...

www.ccd.rpi.edu/eglash/csdt/pCSDT/KC

KCdeploy

Tuesday, July 19, 2011

Kente Cloth

I have been working on converting Cornrows to Kente Cloth. The conversion is complete, the only thing remaining is to implement new Demo scripts. Once that is complete, I'll deploy it on the ccd server for people to try.

Some design considerations...

I like the 'Translate' by percentage codelets as opposed to 'Move by' an integer amount.

Weave is completely missing, and could be implemented instead by 'Translate' up/down left/right by 50 percent.

 

KC071911

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.