Paper Folding v1.6

  scripts
  sprites
See inside
Instructions

Folding Paper! Such a pretty effect, such hard maths! Drag the edge with the mouse to fold, drag the middle to move.

Drag with the mouse (by the edge to fold, middle to move)
Press [1,2,3,4] to select paper sizes.
Press [Space] to flip the paper over.
Press [U] to undo the last fold.
Press [Arrow Keys] to zoom in and rotate.

Reset the project after around 7 folds otherwise things can get slow!

Notes and Credits

18 Jul 2014 - v1.6 - Yay, got the page layering and flipping to work - Now the order of pages is correctly modelled as you fold, and press space to flip it over.
17 Jul 2014 - v1.5 - Added left and right arrow keys to rotate.
17 Jul 2014 - v1.4 - Swapped to use @Jamohyperturbopro triangle fill scripts for a very pleasing increase in speed. + Improved off screen render.
17 Jul 2014 - v1.3 - Alternative drag controls [F] toggle back to the old way - Now you grab the bit you want to move and drag it to where you want it to go... Also can drag the whole shape if not holding the edge...
17 Jul 2014 - v1.2 - Added undo key [U]
17 Jul 2014 - v1.1 - Added 5 paper sizes (shapes)
17 Jul 2014 - v1.0 - Initial Release - Known bugs exist where things go crazy!

**** Credits ****

Thanks to @Jamohyperturbopro for the triangle fill algorithm.
See: http://scratch.mit.edu/projects/12504085/

Shared: 17 Jul 2014 Modified: 25 Jul 2014
Favorite this project 1300
Love this project 1537
Total views 16414
View the remix tree  42
  
More projects by griffpatch