10-08-2025, 06:56 PM
(10-08-2025, 06:36 PM)SierraKen Wrote: LOL Amazing Steve! It's so simple too, I'm stunned. lol I will have to use some of this code on wavey pictures or graphics, etc. And the use of fonts, I didn't know it was so easy. lol
You can honestly take out about half of it. I'm making it a hardware only screen there, just cause I was using a lot of CPU juice on my laptop and that chugs a lot of the processing into the GPU. On my laptop, running it as it is here, it uses all of 0% CPU... So less than 0.4% I suppose, which gets rounded down to nothing.
All we're basically doing is just a simple sine wave here to generate the waving motions. It really is quite a simple process. Adjust the math a little for bigger waves or longer waves or whatnot, as desired.

But run it and see what the CPU usage is for you. It should be almost nothing, since the vast majority of the work here is going to the hardware screen instead of anything software rendered.

