In visual basic i would like to graph a sine wave moving from left to right on the monitor screen. Could someone point me in the correct direction?

Dave Sauter 1 Reputation point
2021-08-28T21:42:55.033+00:00

I have an array of sine wave amplitudes and need to convert that to a moving sinewave

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,635 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 82,491 Reputation points
    2021-08-30T01:01:55.98+00:00

    I don't know if this test is what you try to do : VB_Direct2D_TestSine.zip (zipped exe for test in .NET 4.7.2)
    127423-vb-direct2d-sine.jpg

    because for animations I use VB + Direct2D, GDI+ being too slow, in particular for a sine wave