Home > Software engineering >  Vb to do linkage animation?
Vb to do linkage animation?

Time:09-15

I made up a eight pole program inside each point about AB pole turned the coordinates of the point of view of the I have a formula to calculate out can use timer delay control make it draw the I change the coordinates of each point of the image from 0 to 360 every turned once painted again delay one or two seconds to CLS wipe away so we can make connecting rod animation?
Seek help from the great spirit show paid!!!!!!

CodePudding user response:

It is too difficult, it's time to test math kung fu

CodePudding user response:

I put up the formula to calculate dynamic coordinate various points also has is to treat it as a subroutine can use clock control delay one second after the CLS erase to draw the next coordinates of point and line rod from 0-360 ° every figure, in turn, said I can do the animation?

CodePudding user response:

If all coordinates, just draw a chart ", that is easy?


However, since it is "360 groups of data, 1 or 2 seconds, down brush only once, don't you think it is too slow?
At least 5 to 10 points per second... Once (0.2-0.1 seconds)
I feel like if you want to let the "action" look more coherent, should be about 30 to 50 points per second of data,

CodePudding user response:

The first thing to understand is what is in the data, if it is a good 3 d coordinate point data, need to be on the plane figure showing a 3 d scene, you will need to take these 3 d coordinate points according to the Angle of conversion into plane coordinates to drawing, the need to know some Basic knowledge of 3 d graphics theory, I know that you can refer to a "senior Visual Basic graphics programming" of a book, it tells the story of a lot of dot matrix diagram, vector graphics, animation, 3 d graphics the Basic theory, algorithm and examples, but is more than two decades ago, don't know now can not find the , and can use the ready-made development kit for processing, such as DX3D or OpenGL, directly with the 3 d scene inside your coordinates into use,
Is, of course, if you good plane coordinate, direct use GDI functions or VB own drawing method can fix

CodePudding user response:

Ok, at the beginning of my machine the original work is to use vb to do,

CodePudding user response:


Recently is also working on this, just how much you qq to discuss
  • Related