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.