Radial gradients can't use negative coordinates
doseofted opened this issue · 2 comments
doseofted commented
I'm creating an animation with PTS that uses a lot of gradients and noticed an odd behavior when gradients leave the canvas area. It appears that radial gradients can only use absolute coordinates. I've created an example here showing the issue (PTS-related code here) but I'm unsure if this is a bug or a misunderstanding on my part. Is there a better way to use negative coordinates with gradients?
Screen.Recording.2022-10-22.at.8.09.32.AM.mov
doseofted commented
I played around with it and may have found a way to use negative coordinates in the linked PR. Let me know if it needs adjustment!
williamngan commented
Hi @doseofted - I'm sorry for the delay on this. Been very busy at work in the past month. Thank you so much for catching this bug and sending a PR too. Really appreciate it 🙏