High speed / animation on Core 2 display
-
I have a python app that is monitoring the voltage of a rapidly changing signal (think audio amplitude) from a sensor and I am driving the width of a rectangle shape, modulating the width with the value of the signal. I would like to have a smooth update frequency of about 30 per second. Basically I want to emulate the look of old fashioned VU meters, either the electromechanical kind of the 60's or the LED bars of the 80's. I don't know the best way to do this. I.e. do I draw the rectangle, then erase it, then draw the new rectangle at the new width? I tried a couple of different approaches but they didn't look correct. Thanks.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login