-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Hi @agraef and @timothyschoen , happy end of 2024! 😄
I'm working on developing a library for handling simple scores using pdlua. https://github.com/charlesneimog/pd-score
I’m rendering music glyphs using the Bravura font and the d attribute for SVG path data (you can check out more details here: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d).
It works well, but I’m missing the move_to function on pdlua api. It’s essentially meant to move the cursor to a new position without drawing anything. I’ve tried implementing it myself using c, but I don't know anything about Tk, plugdata or PurrData.
For now, I’m using line_to, which almost works on low resolution but not or higher.
Here’s an example of what I’m seeing:
Pure Data
PurrData
Plug Data
Obs.: Create a new Path() does not work because the fill becomes wrong!
I believe this would be amazing not just for score, but would be possible to draw anything from svg.