Responsive, interactive and more accessible HTML5 canvas elements. Scrawl-canvas is a JavaScript library designed to make using the HTML5 canvas element easier, and more fun
None
None
None
package.json
- main attribute was pointing at the wrong fileFull Changelog: https://github.com/KaliedaRik/Scrawl-canvas/compare/v8.9.8...v8.9.9
None
None
None
package.json
causing bundle failure (Rollup)/factory/filter.js
which was erroring in Rollup buildFull Changelog: https://github.com/KaliedaRik/Scrawl-canvas/compare/v8.9.7...v8.9.8
None
Simplified SC Library management by introducing a new library.purge(string)
function
kill()
functionality.Canvas-043
and Canvas-046
Canvas-001
to Canvas-030
updated to demonstrate the recommended name-spacing strategyreducePalette
filterRandomNoise
filter so that it can randomize pixels based on the bluenoise
and ordered
pseudo-random number arraysFilters-028
to test stencil (background) filter functionalityFull Changelog: https://github.com/KaliedaRik/Scrawl-canvas/compare/v8.9.6...v8.9.7
None
None
None
package.json
Full Changelog: https://github.com/KaliedaRik/Scrawl-canvas/compare/v8.9.5...v8.9.6
Minor breaking changes to the Reduce Palette filter
None
"type": "module"
attributeFull Changelog: https://github.com/KaliedaRik/Scrawl-canvas/compare/v8.9.4...v8.9.5
None
None
Full Changelog: https://github.com/KaliedaRik/Scrawl-canvas/compare/v8.9.3...v8.9.4
None
tiles
filternewsprint
filternoTarget
attribute for makeRender
factory. By default, render objects created with no target Canvas/Stack wrappers will use the SC default clear/compile/show
functions to render all Canvas/Stack elements on the page. Setting the noTarget
attribute to true
will prevent this happening.Group.getArtefact()
Full Changelog: https://github.com/KaliedaRik/Scrawl-canvas/compare/v8.9.2...v8.9.3
None
Artefact attribute order
now split into new processingOrder
and stampOrder
attributes. Artefacts that are used by other artefacts for positional data, and thus need to be calculated first, but also need to display over the top of those other artefacts, can split their ordering values accordingly. Setting order
(which is now a pseudo-attribute) will set both new attributes to the supplied value. Getting order
will return the stampOrder
value
The reduce-palette
and corrode
filters have been rewritten to make them more efficient, and faster
None
Full Changelog: https://github.com/KaliedaRik/Scrawl-canvas/compare/v8.9.1...v8.9.2
None
New makeKeyboardZone
to improve the developer experience of adding keyboard events to Canvas and Stack wrappers and their DOM elements
Extended the functionality of makeDragZone
so multiple drag zones set on a Canvas or Stack wrapper can be ordered by priority. Shift + mouse drag-drop events are now supported
Fixed some minor bugs surrounding accessibility.
Full Changelog: https://github.com/KaliedaRik/Scrawl-canvas/compare/v8.9.0...v8.9.1
Scrawl-canvas will no longer process all <canvas> elements that it discovers on first run. Instead elements must be specifically marked with an attribute - data-scrawl-canvas
- if they are to be processed by the library. This is to prevent the library interfering with <canvas> elements required by third party libraries (eg: Chart.js), or added to the page by third party libraries during page load (eg: PixiJS).
In a similar vein, the attribute data-stack
changes to data-scrawl-stack
.
None
None
Fixed some Safari-specific bugs; some limitations imposed on Safari (eg: memoizing filters) have been lifted.
Full Changelog: https://github.com/KaliedaRik/Scrawl-canvas/compare/v8.8.2...v8.9.0