Replies: 2 comments 2 replies
-
i think i am working on something real similar what you trying to archive :D it is absolutely possible but there are some quarks i first needed to learn to get where i am now. The code is currently a jumbled mess because i am still in the stage to verify if my idea is possible but here is a sneak peak of the output. hacked_mess.mp4The next thing i need to create are some cursors where i can drag and drop on the bezier curve control points. And hit detection is still not 100% flashed out ;D Did you already had a go with the memory game example ? There you find some good hints how to approach part of my solution. |
Beta Was this translation helpful? Give feedback.
-
Iterating with |
Beta Was this translation helpful? Give feedback.
-
Hey, may thanks for this great library! I like really like how it's looking so far and how easy it is to have a GUI in a Rust program now.
I saw the IoT dashboard example and would like to build a similar looking dashboard for myself (showing mostly the balance in my accounts).
My initial idea was to use
Path
and afor
expression to build a plot line from an array of data points. I quickly realized that it is probably not possible the way I want to do it.MoveTo
instead ofQuadraticTo
) afaik.Then I tried to use the
plotters
crate. I was quickly able to get an example working, but realized that SixtyFPS only takes pixel images, not vector graphics asimage
. My plots would therefore not scale with the window.My questions are:
for
expression limited like this for a reason (i.e. compile time optimization) or are there plans to make it more general like in Rust?Thanks again for your work! I think this might have a huge impact on the adoption of Rust :)
Beta Was this translation helpful? Give feedback.
All reactions