| This paper associates with a fund item of Hefei University of Technology "the research of Web publishing based on XML", and with a fund of Guang Dong province "the visual customized object and method of alternative generation which supports mechnical CAD application". And it will especially discuss the principle and realization of scripting editor and the generation technology of kinematics animation based on SVG.The introduction part summarizes the original,functional character-ristics,application prospect of CVIDraw software.The second part introduces the technologies which are related to computer animation, the standard of following vector graphics on Web—SVQand gives a detailed introduction about the principle and realization technology of SVG scripting editor which is embedded in CVIDraw platform,the realization of the editor,provides a coding platform for implemention of simulated kinematics animation on CVIDraw platform. Thefore,on the basis of studying SVG scripting animation thoroughly,this paper emphatically studies how to realize flexible and complicated kinematics animation on CVIDraw platform, which includes using SVG graphic elements to describe usual machine,having access to SVG DOM,script controls the attributes of SVG object,and drives the object act according to the scheduled rules,and appending SVG event attributes to gain alternative effect during the course of simulated animation. The research of this paper,has a certain significance to broaden the application space of CVIDraw platform and spread the application of SVG.The last part of this paper gives an example coding of the crank rocker to illustrate the feasibility of the realization of simulation and alternation. |