Difference between revisions of "Porting pushStyle(), popStyle(), and boolean() to Processing.js"

From CDOT Wiki
Jump to: navigation, search
m
Line 22: Line 22:
  
 
== Project News ==
 
== Project News ==
 +
==Oct. 12, 2009 - Added ''boolean()''==
 +
[http://wobblyretroaction.blogspot.com/2009/10/boolean-for-processingjs.html Project expanded] to include ''boolean()''.
 
===Sept. 28, 2009 - Basic example working===
 
===Sept. 28, 2009 - Basic example working===
 
Basic improvements allow the rudimentary [http://processing.org/reference/pushStyle_.html Processing example] to [http://matrix.senecac.on.ca/~mlam19/processingjs/ function in Processing.js].
 
Basic improvements allow the rudimentary [http://processing.org/reference/pushStyle_.html Processing example] to [http://matrix.senecac.on.ca/~mlam19/processingjs/ function in Processing.js].
 
===Sept. 27, 2009 - Humble beginnings===
 
===Sept. 27, 2009 - Humble beginnings===
 
The [http://wobblyretroaction.blogspot.com/2009/09/processingjs-plan-to-push-and-pop.html initial project proposal] has been posted. [http://github.com/mlam19/processing-js Repository] at github created.
 
The [http://wobblyretroaction.blogspot.com/2009/09/processingjs-plan-to-push-and-pop.html initial project proposal] has been posted. [http://github.com/mlam19/processing-js Repository] at github created.

Revision as of 14:33, 18 October 2009

Project Name

Porting pushStyle(), popStyle(), and boolean() to Processing.js

Project Description

Processing.js remains incomplete as a port of Processing. Among the features still to be implemented are the functions pushStyle(), popStyle(), and boolean(). The first two functions automatically save style information for later retrieval and reuse. The last "converts" arguments into a boolean value.

This project seeks to implement those three functions. The repository may be found here.

Project Leader(s)

Project Contributor(s)

Project Details

pushStyle() and popStyle()

Related Mozilla bugs

  • #451165 - CanvasRenderingContext2D.fillStyle and strokeStyle accept invalid colours
    • pushStyle() and popStyle() use CanvasRenderingContext2D.save() and restore(). These functions save fillStyle and strokeStyle.

boolean()

Project News

Oct. 12, 2009 - Added boolean()

Project expanded to include boolean().

Sept. 28, 2009 - Basic example working

Basic improvements allow the rudimentary Processing example to function in Processing.js.

Sept. 27, 2009 - Humble beginnings

The initial project proposal has been posted. Repository at github created.