Matrix code screen

0
0

Just thought I would share a sample I put together to show user painted controls. It is an animated code screen from Matrix.

  • You must to post comments
0
0

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.

 

  • Mark Reed
    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?
  • You must to post comments
0
0

That looks pretty cool can you attach back the changed source code?

  • You must to post comments
0
0

Also here is the original source in javascript that I ported.

 

https://github.com/emilyxxie/green_rain/blob/master/sketch.js

  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.