Scrawl.js Code
For the handling and manipulation of the HTML5 <canvas> element
Brought to you by:
kaliedarik
File | Date | Author | Commit |
---|---|---|---|
js | 2013-03-22 |
![]() |
[1dd804] version 0.0044a |
README.txt | 2013-03-22 |
![]() |
[1dd804] version 0.0044a |
changelog.txt | 2013-03-22 |
![]() |
[1dd804] version 0.0044a |
documentation.txt | 2013-03-22 |
![]() |
[1dd804] version 0.0044a |
/*********************************************************************************** * SCRAWL.JS Library * version 0.0044(alpha) - 22 March 2013 * Developed by Rik Roots - rik.roots@gmail.com, rik@rikweb.org.uk * * 'Yet Another JavaScript Canvas Manipulation Library Thingy' (Yajacamalithy) * Using the canvas to draw pretty stuff as easily as possible * * Scrawl demo website: http://scrawl.rikweb.org.uk * ***********************************************************************************/ A. Purpose B. Versions A. PURPOSE ------------------------------------------------------------------------------------ The plan is for Scrawl to be 'Yet Another JavaScript Canvas Manipulation Library Thingy' (Yajacamalithy). That is, I want this library to be able to make drawing stuff on an HTML canvas thingy to be a little less painful, and a little more object-driven, (and a bit more fun) than it currently seems to be. I'm mainly developing Scrawl as a learning experience for me. There are many, many other javascript libraries out there that already do Good Canvassy Stuff: https://docs.google.com/spreadsheet/ccc?key=0Aqj_mVmuz3Y8dHNhUVFDYlRaaXlyX0xYSTVnalV5ZlE#gid=0 My intention is for Scrawl to work in the following way: 1. Include the scrawl.js library in a webpage 2. Define some drawing objects (Sprites and Designs) 3. Add some code to make them do interesting stuff with each other 4. Display and animate them on the canvas(es) Scrawl found when it first loaded I want Scrawl to be more than a wrapper, but I don't want it to be as easy to use as jQuery - graphics and animations are complex stuff. Similarly, I don't want Scrawl to be a fully featured gaming or paint package. I just want it to be fun to use. Check out the website to see how I'm developing the library. It's got examples of stuff on it, with code. (My current favourite is still Example 07). Oh, and some documentation. B. VERSIONS ------------------------------------------------------------------------------------ Scrawl is in the very earliest stages of development - USE AT YOUR OWN RISK. You have been warned! Version 0.0044(alpha) uploaded 22 March 2013 Version 0.0043(alpha) uploaded 21 March 2013 Version 0.0042(alpha) uploaded 20 March 2013 Version 0.0041(alpha) uploaded 18 March 2013 Version 0.004(alpha) uploaded 16 March 2013 Version 0.0031(alpha) uploaded 9 March 2013 Version 0.003(alpha) uploaded 7 March 2013 Version 0.002(alpha) uploaded 5 March 2013