Skip to content

v1.2.0

Choose a tag to compare

@retrotheft retrotheft released this 21 May 23:32
· 3 commits to main since this release

1.2.0 update: introduces Attachments for setting up HTML Canvas. Hook up your draw function, run an init function and even keep the canvas scaled to its container, all with {@Attach ... } call.

Refer to the below Svelte Playground for instructions on how to use.

Svelte Playground

[1.2.0] - 2025-05-22

Added

  • added Attachments as introduced in Svelte 5.29

Changed

  • rebuilt project as a SvelteKit library (was previously manually set up with svelte-package)
  • exported Loop class
  • cleaned up JSDoc and switched to typescript