首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > JavaScript > JavaScript贝塞尔函数与工作的例子

JavaScript贝塞尔函数与工作的例子

资 源 简 介

Beziér Curves & DHTML You’ve no doubt already heard of Beziér curves and seen them being used in graphics packages and computer games. You may have even thought of using them to perform animations and transitions in DHTML, but maybe you were daunted by the complex mathematics involved. While the underlying principles are reasonably advanced, it is not necessary for you to understand the Beziér Functions in order to use them. Beziér functions can be used to generate a wide range of shapes, including 2D & 3D lines and 3D patches for modeling. This tutorial shows you how to use a cubic Beziér curve in 2-dimensions and uses the Bernstein Basis Function to calculate the points on the curve. The Maths The Bernstein Basis Function is as follows: 1 = t + (1 - t) Obvious right? Try it out, substitute any value for t and you will find this equation holds true. Now, we use this function as a parametric method for generating the

文 件 列 表

JS.Bezier
13thparallel.htm
bezier.gif
bezier.js
bezier2.js
bezier_curves.gif
css.css
drag.js
example1.html
example2.html
example3.html
images
lib_animation.js
lib_basic.js
printversion.css
VIP VIP
0.200568s