[Cuis-dev] Best way to draw arcs

Jon Hylands jhylands at gmail.com
Sat Mar 4 10:05:57 PST 2023


I did a little test - turned off all the stepping (wantsSteps returns false
for all of them now).

With that little dashboard opened, I still get about 1 FPS dragging it
around. In the final version I won't be dragging it around, but if all
those fancy graphics come at a cost that makes them unusable, I'm probably
going to have to go back to regular squeak (where things don't look nearly
as nice, but dragging the fully live dashboard still happens at 30+ FPS).

- Jon


On Sat, 4 Mar 2023 at 10:00, Jon Hylands <jhylands at gmail.com> wrote:

> One of the other things I've noticed is that the system in general becomes
> almost non-responsive while my dashboard morph is open. Even opening one of
> the gauge morphs by themselves, they are painful to interact with. I
> implemented the same dashboard in normal Squeak before I started on this
> one, and I can drag it around while it is live with zero lag.
>
> I've got #step running in all three gauges, with a #stepTime of 100, and I
> basically either ask the morph to redraw itself (compass and altimeter), or
> just rotate the needle submorph (airspeed).
>
> I'm running Xubuntu 20 on an i7-3770K @ 3.5 GHz, with 32 GB of RAM and a
> GeForce 1060 graphics card.
>
> - Jon
>
>
> On Sat, 4 Mar 2023 at 09:14, Hilaire Fernandes via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
>> Hum, it seems there is an issue when yAxisPointsUp is enabled. I observe
>> the same problem on my example.
>>
>> Thanks
>>
>> Hilaire
>> Le 04/03/2023 à 13:40, Jon Hylands via Cuis-dev a écrit :
>>
>> I should add, the coordinate system of the morph is set to origin at the
>> center of the gauge, and yAxisPointsUp is enabled.
>>
>> --
>> GNU Dr. Geohttp://drgeo.euhttp://blog.drgeo.eu
>>
>> --
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230304/c918bdcd/attachment.htm>


More information about the Cuis-dev mailing list