Open main menu

CDOT Wiki β

Changes

FSOSS 2010/processing.js/transforms

184 bytes added, 23:27, 27 October 2010
no edit summary
<ul>
<li>Order is important!</li>
<li>Let's try to rotate a squarein place</li>
</ul>
rect(-10, -10, 20, 20);
</source>
 
<ul>
<li>Since Processing saves states, we need a way to undo transformations</li>
<li>Use <b>pushMatrix()</b> to make a save point and <b>popMatrix()</b> to undo</li>
</ul>
1
edit