Skip to content

Conversation

yakanet
Copy link

@yakanet yakanet commented Oct 22, 2022

Play animation when canvas entering in viewport, and pause it when leaving the viewport.
In order to ease integration of a new olive.c canvas, just use this HTML snippet.

<olivec-canvas src="./wasm/penger3d.wasm" />

@yakanet yakanet changed the title Webcomponent to ease integration in HTML [JS] Play animation when canvas entering in viewport Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant