Documentation: Pointillize
Description
This action paints the picture with circular points. Processing time increases drastically with small radii and/or high densities.
Demo
Example usage
var img = new Image();
img.onload = function() {
Pixastic.process(img, "pointillize", {radius:5, density:1.5, noise:1.0, transparent:false});
}
document.body.appendChild(img);
img.src = "myimage.jpg";
Parameters
Known issues
- Since the points are painted in order top to bottom, left to right, a "layering" effect can be seen when using high densities.
View source: pointillize.js
Browser support
