You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to set custom func parameters when type=canvas async function funcCanvas({ width, height, canvas}) { const image = await loadImage('./assets_my/IMG_4870.jpg') function onRender(progress) { } function onClose() { // Cleanup if you initialized anything } return { onRender, onClose }; }
For example, I want to customize the path of the picture
Thanks!
The text was updated successfully, but these errors were encountered:
How to set custom func parameters when type=canvas
async function funcCanvas({ width, height, canvas}) { const image = await loadImage('./assets_my/IMG_4870.jpg') function onRender(progress) { } function onClose() { // Cleanup if you initialized anything } return { onRender, onClose }; }
For example, I want to customize the path of the picture
Thanks!
The text was updated successfully, but these errors were encountered: