메뉴 건너뛰기

OBG

정보게시판

조회 수 511 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

http://www.algorithmist.net/technotes.html

 

Computational Geometry

Focusing primarily on interactive creation and display of two-dimensional curves, I hope this series illustrates that Flash is a valuable tool in teaching computational geometry. Each TechNote below opens in a new browser window.

:: Natural Cubic Splines - Natural and parametric cubic splines.

:: Hermite Curves - Cubic Hermite curves.

:: Quadratic Beizer Curves - Quadratic Beizer's and MovieClip.curveTo().

:: Cubic Bezier Curves - Cubic Bezier's and introduction to quadratic approximation.

:: Catmull-Rom Splines - An introduction to Catmull-Rom Splines.

:: Arc Length of a Catmull-Rom Spline - Arc Length of parametric curves and derivative evaluation, applied to Catmull-Rom splines.

:: Curve-Constrained Scrolling Via Script - Parametric Quadratic and Piecewise Hermite curves applied to curve-constrained scroll indicators.

:: Arc-Length Parameterization - Introduction to curve parameterization and how to reparameterize a curve on arc length. Techniques applied to a Catmull-Rom spline. Examples include how to distribute sprites evenly along a curve and path animation (including path following and orientation).

:: Recursive Subdivision - Splitting a cubic Bezier curve into multiple equivalent, but smaller segments. Several subdivision approaches are discussed with the ultimate goal of pairing a fast subdivision with a piecewise cubic Bezier spline.

:: Composite Bezier Curves - Constructing a piecewise cubic Bezier curve that interpolates a set of knots with G-1 continuity and tension control. Optimized for fast drawing.

Online Demos

These interactive demos illustrate various concepts in applied mathematics. Most initial examples are from the field of computational geometry. All demos required the Flash 9 player.

:: Parameterization Demo - Illustrate the difference bewteen uniform and arc-length parameterization on a cubic Bezier spline.

::Quadratic Bezier Parameterization - illustrates the difference in natural vs arc-length parameterization for a simple quadratic Bezier curve.

::Quad. Bezier, 3-point interpolation - The classic formula familiar to many Flash programmers is actually a simplified version of a more general parameterization, called 'midpoint' parameterization or 'midpoint interpolation'. The more general formula is discussed in the Cubic Bezier TechNote. This demo illustrates the difference between midpoint, chord-length, and arbitrary parameterizations.

::Catmull-Rom Spline animation - a simple example illustrating the animation of a Catmull-Rom spline from beginning to end, as if it were being drawn by hand. Also a subtle introduction to spline parameterization.

::Closed-Loop Catmull-Rom spline - a simple method for setting outer control points for a smooth, continuous-loop Catmull-Rom spline.

::Path Animation with Papervision 3D - a simple demo illustrating path animation with Papervision 3D and the 3D Catmull-Rom spline.

::Lemniscate of Bernoulli - how to use a closed-loop Catmull-Rom spline to animate sprites around a Lemniscate of Bernoulli (infinity or fiture-8 shape).

::Papervision 3D Figure-8's- builds upon the 2D Lemniscate of Bernoulli example to animate markers along figure-8 paths in the XY, XZ, and YZ planes.

::Papervision 3D Path Animation from 3ds max - uses spline data exported from 3ds max (in XML) and the Singularity 3D Bezier spline for path animation in Papervision 3D.

::Quadratic Bezier y at x - computes (t,y) values along a quadratic Bezier curve at a given x-coordinate.

::Cubic Bezier y at x - computes (t,y) values along a cubic Bezier curve at a given x-coordinate.

::Closest Point on Cubic - closest point on a cubic Bezier to an arbitrary point (port of class Graphic Gem algorithm).

::Closest Point on Quadratic - closest point on a quadratic Bezier to an arbitrary point (Graphic Gem algorithm generalized to work with quads or cubics).

::Easing Along a Cubic Bezier Curve- Penner easing functions applied to easing along a parametric curve. Another practical application of arc-length parameterization.

::Cubic Bezier 4-point Interpolation-Interpolating four points with a cubic Bezier curve.

?

List of Articles
번호 분류 제목 글쓴이 날짜 조회 수
172 시사 서울대 75학번이 박원순후보 학력 위조(?) 실체를 밝힌다 Naya 2011.10.14 540
171 교양 구글 입사 시험문제..? Naya 2011.10.08 422
170 IT 부기보드 Naya 2011.10.05 281
169 과학 게이머들, 3주 만에 에이즈 "암 등 난치병 실마리 찾아 너울 2011.09.20 357
168 IT 삼성 슬레이트PC 시리즈7 - 아이패드2와 경쟁할 태블릿, 윈도우 7 (또는 윈도우 8) Naya 2011.09.17 417
167 IT 인텔, 무선 디스플레이(와이다이) 기술 실용화 발표 너울 2011.09.15 306
166 IT 수십만원대 최고급 HDMI 케이블 알고보니… 너울 2011.09.14 305
165 IT Windows 8: pictures, video, and a hands-on preview of the developer build 너울 2011.09.14 1042
164 IT 휘어지는 AMOLED 디스플레이 Naya 2011.09.02 280
163 교양 샥스핀.jpg Naya 2011.08.31 263
162 IT 왜 나는 키보드에 열광하는가 Naya 2011.08.30 337
161 IT 아이폰4 카메라 vs 니콘 D40 비교 너울 2011.08.29 564
160 IT iPhone(iOS) 이해 너울 2011.08.29 339
159 IT 리눅스 탄생 20주년 Naya 2011.08.26 266
158 시사 무상급식은 부자급식이 결코 아니다 Naya 2011.08.22 277
157 시사 카다피의 일생에 관하여 Naya 2011.08.22 272
156 교양 편의점 삼각김밥은 왜 삼각형이 됐나? Naya 2011.08.20 439
155 시사 현직 PD가 말하는 '한예슬과 촬영하기' Naya 2011.08.18 297
154 IT dts로 릴된 영화 작은 소리 확실하게 증폭해서 듣는방법 너울 2011.08.16 470
153 IT 내 생애 처음 만난 럭셔리 PC, 어떤 점이 다를까? 너울 2011.08.16 324
Board Pagination Prev 1 ... 6 7 8 9 10 11 12 13 14 15 ... 19 Next
/ 19
위로