메뉴 건너뛰기

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
번호 분류 제목 글쓴이 날짜 조회 수
138 IT XE 모바일 레이아웃이 적용되지 않는 경우 MoA 2013.08.04 305
137 IT 라즈베리안 서버 구축 MoA 2013.06.12 313
136 IT 추억의 프로그램 'Mdir' MoA 2013.05.20 538
135 IT 마우스 우측키 메뉴와 윈도우의 각종 메뉴가 왼쪽으로 나올때 MoA 2013.05.20 283
134 IT 워드프레스 글꼴 변경 MoA 2013.05.11 385
133 IT 사이버 무기 스턱스넷 MoA 2013.04.08 272
132 IT 오큘러스 리프트 GDC 시연회 MoA 2013.04.07 252
131 IT 3.20 해킹 분석 자료 MoA 2013.03.22 272
130 IT 내 비밀번호는 얼마나 안전한가 MoA 2013.03.14 298
129 IT 검색 엔진 봇 차단 (robots.txt 이용) MoA 2013.03.04 302
128 IT openfire (메신저 서버) 설치하기 MoA 2013.01.18 572
127 IT 2012년 가장 아름다운 iOS 앱 - from TNW MoA 2012.12.26 324
126 IT ipTime 공유기 WOL 설정 너울 2012.11.20 697
125 IT 윈도우7 원격제어 설정 너울 2012.11.20 316
124 IT QR 코드 간단한 원리 Naya 2012.11.19 267
123 IT 초저가 미니 PC 라즈베리 파이(Raspberry Pi) Naya 2012.11.09 379
122 IT ATIV 프리뷰 Naya 2012.09.25 272
121 IT Microsoft Project Austin (윈도우 8 용 노트 앱) Naya 2012.09.24 262
120 IT Microsoft Fresh Paint for Windows 8 (그리기 앱) Naya 2012.09.24 341
119 IT MP3, WAV, FLAC 파일 형식 간단 비교 Naya 2012.09.07 436
Board Pagination Prev 1 2 3 4 5 6 7 8 9 Next
/ 9
위로