Please helppppp

There is something i have been working on and it is trying to make the gif speed 30 fps, here is the code, i there a problem? const gif = new GIF({
workers: 2,
quality: 10,
workerScript: ‘gif.worker.js’,
repeat: 0
});

// Add a frame with a delay of 33ms (~30 FPS)
gif.addFrame(canvas, { delay: 33 });

// When finished, render the GIF
gif.on(‘finished’, function(blob) {
window.open(URL.createObjectURL(blob));
});

gif.render();

I fixed it and now it is saying error 56230 ven tho i only have 21 lines!

Can you provide more context? Are you working in Wick Editor? If you’re trying to export a GIF you can simply adjust the FPS through the settings. If you’re not programming in the editor, what IDE/ libraries are you using?

When this happens that usually means your code is causing an issue in either one of the backend libraries or the Wick source code

1 Like

I’m in wick and in my GIF’s code it keeps saying error line 9. i edit line nine an it keeps saing that!!!