You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you open the thumbnail it scrolls together with the main window! And this is all drawn on the serve side.
I changed a couple of things to remove the statics and the native text renderer to draw the string to use only GDI2 without creating the HDC.
This app also uncovered what I call an "edge bug", a bug at the border line of the performance limits of Wisej. Internally the client wisej middleware queues all events and processes the queue at 75ms intervals in order to pack more data in a single message. The low interval (80ms) set in the app caused the scheduler to go into an infinite loop of canceling and rescheduling when adding more streams or more windows.
Also I don’t know if it would be faster but the first version I was just using a label and setting the text property and location. But it seemed slow so I switched to the GDI. Maybe with the changes you made it would be faster using a label since it wouldn’t have to send a large image?
Activity
itg-assistant commentedon Jun 12, 2026
Luca answered 2017-04-07 20:27:43 UTC
Cool!
http://demo.wisej.com/matrixstreams
If you open the thumbnail it scrolls together with the main window! And this is all drawn on the serve side.
I changed a couple of things to remove the statics and the native text renderer to draw the string to use only GDI2 without creating the HDC.
This app also uncovered what I call an "edge bug", a bug at the border line of the performance limits of Wisej. Internally the client wisej middleware queues all events and processes the queue at 75ms intervals in order to pack more data in a single message. The low interval (80ms) set in the app caused the scheduler to go into an infinite loop of canceling and rescheduling when adding more streams or more windows.
itg-assistant commentedon Jun 12, 2026
Mark Reed answered 2017-04-07 21:50:20 UTC
That looks pretty cool can you attach back the changed source code?
itg-assistant commentedon Jun 12, 2026
Mark Reed answered 2017-04-07 21:53:52 UTC
Also here is the original source in javascript that I ported.
https://github.com/emilyxxie/green_rain/blob/master/sketch.js
itg-assistant commentedon Jun 12, 2026
Mark Reed answered 2017-04-07 23:24:38 UTC
Also I don’t know if it would be faster but the first version I was just using a label and setting the text property and location. But it seemed slow so I switched to the GDI. Maybe with the changes you made it would be faster using a label since it wouldn’t have to send a large image?