Releases: KaliedaRik/Scrawl-canvas
Scrawl-canvas v8.6.1
New functionality:
- New vary-channels-by-weights filter - this replicates curveWeights functionality found in 3rd party software such as the Gimp
- Export the pseudo-random number generator from the scrawl object
Internal changes:
- Update demos by factoring out common code
Full Changelog: 8.6.0...v8.6.1
Scrawl-canvas v8.6.0
New functionality:
- Added functionality to allow canvas displays to take into account device screen dpr values, including automated changes when a user drags a browser window between screens with different dpr values. This new functionality is opt-in, to minimise breaking changes with existing SC-based canvas animations and displays. Note that this new functionality has been explicitly deactivated for Safari-based browsers
Full Changelog: 8.5.5...8.6.0
Scrawl-canvas v8.5.5
New functionality:
- New random noise filter
- New mapToGradient filter
- Added a Worley noise engine to the noise asset
- Crescent entity added
Improvements to:
- Investigated Lighthouse and made tweaks to the codebase to help improve Lighthouse score
- Noise asset can now display output using more complex gradients via the 'rainbow gradient' attributes
Non-breaking bug fixes for:
- Loom entity bugfix
Full Changelog: 8.5.4...8.5.5
Scrawl-canvas v8.5.4
New functionality:
- Added a new reaction-diffusion asset - to make RD-generated backgrounds accessible to SC Picture entitys and Pattern styles
- Added a 'stripe' engine to the noise asset
Improvements to:
- Rollup configuration tweaks
Full Changelog: 8.5.3...8.5.4
Scrawl-canvas v8.5.3
New functionality:
- Added a new gaussian blur filter - this is significantly faster than the existing blur filter and should be used in preference to the old approach
- Added a new raw asset - we can use this asset to make third party graphics library functionality accessible to SC Picture entitys and Pattern styles. Tested with: Delaunator (for Delaunay/Voronoi triangulation); Rapier physics engine (via WASM as Rapier is written in Rust); Tensorflow body-pix ML model; MediaPipe selfie-segmentation and face-mesh ML models
- Linespiral entity added
Full Changelog: 8.5.2...8.5.3
Scrawl-canvas v8.5.2
New functionality:
- Added a new corrode filter
- Support for conic gradients added
Improvements to:
- Work undertaken to make filters code faster
Internal changes:
- Entity stamp functionality reconsidered and rewritten
Non-breaking bug fixes for:
- Delta animation bugs fixed
Full Changelog: 8.5.1...8.5.2
Scrawl-canvas v8.5.1
Improvements to:
- Develop the 'snippet' concept - this work has been inspired by, but does not replicate, the approach to adding canvas effects and animations to DOM elements contained in the new Houdini Paint API
Internal changes:
- The 'component' concept has been renamed to 'snippet' - references to 'component' are deprecated
Non-breaking bug fixes for:
- Firefox pattern bug fixed
Full Changelog: 8.5.0...8.5.1
Scrawl-canvas v8.5.0
Internal changes:
- Filters - moved filters code from web worker back into main thread
- Removed web worker code - this simplifies the code base and makes SC easier to integrate with 3rd party tooling such as code bundlers
- As web workers have been removed, can also remove the Display cycle promises cascade
New functionality:
- Entity caching - this allows entitys with more intense filters applied to them to be rendered internally once, then have the cache image stamped on the display when required
Full Changelog: 8.4.0...8.5.0
Scrawl-canvas v8.4.0
Breaking changes to functionality:
- New filters system written from scratch - this new approach is inspired by the SVG filters approach where a filter effect can be built up using multiple paths
- The 'user-defined' filter has been deprecated and removed
New functionality:
- New filters include area-alpha, blend, channels-to-alpha, clamp-channels, colors-to-alpha, compose, displace, emboss, flood, offset, process-image
- Added a noise asset (to generate and use perlin, simplex noise)
- Mesh entity
- Make fonts measured in viewport units responsive to changes in the viewport dimensions
Improvements to:
- Easing functions
Non-breaking bug fixes for:
- Fixed a range of issues specific to the Safari browser
- Fixed a range of issues specific to the Firefox browser
Full Changelog: 8.3.4...8.4.0
Scrawl-canvas v8.3.4
New functionality:
- Added 'clearalpha' attribute to Cells - setting this to values >0 creates a ghosting effect on the display
- Track mouse movements over 3d rotated and scaled canvas elements
Non-breaking bug fixes for:
- Asset kill functionality
- Cell filter functionality
Full Changelog: 8.3.3...8.3.4