roblarsen / ceejs Goto Github PK
View Code? Open in Web Editor NEWA helper library for the canvas 2d API
Home Page: http://roblarsen.github.io/CeeJS
License: MIT License
A helper library for the canvas 2d API
Home Page: http://roblarsen.github.io/CeeJS
License: MIT License
One of the TODOs is BUILD SCRIPT
I can work on this, but what kind of tasks are we looking for other than minification of Canvas.js?
I'd love to do auto-documentation, based on JSDoc or whatever.
Ensure every method has current position set.
For example in the circle function:
if (fillStyle) {
context.fillStyle = fillStyle;
context.fill();
}
if (strokeStyle) {
context.strokeStyle = strokeStyle;
stroke();
}
However:
canvas.fill();
canvas.stroke();
is different from:
canvas.stroke();
canvas.fill();
Since I've been doing it a lot in the demos I'd like randomStroke/randomFill
https://github.com/roblarsen/CanvasJS/blob/master/Canvas.js#L550-L563
needs to support the full set of arguments
drawImage(image, sx, sy, sWidth, sHeight, dx, dy, dWidth, dHeight)
Ensure that we've covered everything here:
http://www.w3.org/TR/2dcontext/
Also, look for opportunities to add new stuff.
Some methods don't have boundingBox, they should all have it where it makes sense.
I need one to do a Sierpinski gasket
There's a mix now. Most of the core stuff accepts the default of multiple arguments. Which is fine, since people can port over core canvas without doing anything. I would like to be able to offer the option to have all that stuff also accept object arguments so we can more easily enhance the core stuff with options.
Bob did the Grunt thing. I did the bower thing. Why not do the tavis ci thing.
The imagediff tests don't work under Jasmine 2.1, possibly due to the different way it handles async. These tests are currently disabled. Fix 'em!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.