메뉴 건너뛰기

OBG

정보게시판

조회 수 522 추천 수 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
번호 분류 제목 글쓴이 날짜 조회 수
178 IT 비회원 글쓰기 시 스팸 방지 MoA 2013.09.26 50537
177 IT 인텔 모바일 CPU 호환성 가이드(Intel Mobile Processor Compatibility Guide) - CPU 업그레이드 관련 1 모아레 2010.09.16 5756
176 IT 노트북 배터리에 대한 모든 것 (스크롤 압박 주의) 모아레 2009.02.07 2908
175 IT 공유기 문제 관련 모아레 2008.03.11 2631
174 IT Google analytics 등의 분석 툴에서 간혹 방문 시간이 0초로 표시되는 이유 MoA 2013.11.30 2506
173 IT 구글 포토 사진 날짜 변경 방법 MoA 2015.08.07 1702
172 IT 플래시 액션스크립트 정리 (AS2.0이하인듯) MoA 2014.04.23 1398
171 IT iOS 5’s Seven New Hidden Features Naya 2011.10.18 1168
170 IT npkfxsvc로 인한 시스템 부팅 속도 저하 해결 MoA 2014.07.07 1148
169 IT Windows 8: pictures, video, and a hands-on preview of the developer build 너울 2011.09.14 1054
168 IT 네이버 검색만 허용된 비공개 카페글 링크하는 법 MoA 2013.08.12 909
167 IT 웹캠 USB전원 문제 모아레 2010.09.13 833
166 IT 홈페이지 방문자 알기? MoA 2007.05.04 821
165 IT 플래시 html간의 통신 모아레 2009.02.10 771
164 IT 이음과 해체의 무한 변주, ‘쿼라’의 완결성 모아레 2011.01.22 713
163 IT ipTime 공유기 WOL 설정 너울 2012.11.20 710
162 IT 윈도우7- 배경화면을 동영상으로, 드림씬을 아시나요? 모아레 2009.12.12 646
161 IT 윈도우 7 업그레이드 버전으로 클린설치 정품인증 받기 모아레 2009.11.07 618
160 IT openfire (메신저 서버) 설치하기 MoA 2013.01.18 587
159 IT 아이폰4 카메라 vs 니콘 D40 비교 너울 2011.08.29 578
Board Pagination Prev 1 2 3 4 5 6 7 8 9 Next
/ 9
위로