Jacob

Results 233 comments of Jacob

Huge sorry for another conflict. I merged a different PR that also modified `package-lock.json` I tested this locally and it works great so I'll merge this as soon as you...

Looks like it's caused by the CORS configuration of the server that hosts the image: https://stackoverflow.com/questions/25753754/canvas-todataurl-security-error-the-operation-is-insecure I'm not sure if there's anything we can do about it.

I agree that's a good idea. We should also try to catch this error and provide a more helpful error message.

Alright, to stay consistent I'd recommend using the `Length` type (like `width` and `height`) and making percentage values based on the font size.

`Array.at()`, which causes the problem, [is supported in all modern browsers](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at#browser_compatibility), including Safari 15.4. We're not committed to making the editor run on every possible browser, but displaying a message...

The animation on the homepage and on https://motion-canvas.github.io/docs/time-events/ is just an SVG with a simple CSS animation. @jacksontriffon is right, though. All other animations on the website are embedded Motion...

Images already have the [`smoothing`](https://motion-canvas.github.io/api/2d/components/Image#smoothing) property which controls the value of [CanvasRenderingContext2D.imageSmoothingEnabled](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/imageSmoothingEnabled). I don't think there's a way to disable antialiasing for shapes, though. We don't use SVGs, we use...

Before anyone starts implementing this, I'd like to see a proposal for the API that would be used for controlling this functionality. As well as how it would play with...

I think we could try going for a more flexible solution since there's clearly a pattern there. What about extracting the selection logic to a separate class that could completely...