로그인

검색

조회 수 5129 추천 수 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
번호 분류 제목 글쓴이 날짜 조회 수
58 IT ipTime 공유기 WOL 설정 너울 2012.11.20 3747
57 IT dts로 릴된 영화 작은 소리 확실하게 증폭해서 듣는방법 너울 2011.08.16 3749
56 IT 페이스북은 어떻게 개발하고 배포할까? MoA 2015.09.25 3753
55 IT 라즈베리안 서버 구축 MoA 2013.06.12 3766
54 IT ie9에서 플래시가 왼쪽 위에 모여 보이는 경우 비지 2011.05.26 3771
53 IT 무선 인터넷 보안팁 10가지 모아레 2009.04.27 3816
52 IT 네이버, 노무현을 지우다 Naya 2012.04.15 3849
51 과학 bandwidth란 무엇일까요? 모아레 2009.08.24 3879
50 IT FortiClient Unable to receive SSL VPN tunnel IP address (-30) 에러 해결 OBG 2022.06.08 3887
49 IT 플래시 강좌 모아레 2008.07.11 3890
48 IT 리눅스 한글설정 모아레 2010.03.03 3898
47 IT 아이핀(I-PIN) 정리 Naya 2011.07.30 3899
46 IT Windows 8: pictures, video, and a hands-on preview of the developer build 너울 2011.09.14 3900
45 IT 타입커버 업데이트 및 Fn 키 동작 MoA 2013.12.04 3905
44 IT 게임 리텐션 지표 개선 위한 전략 OBG 2024.10.15 3920
43 IT 플래시 폰트 임베드하는법 MoA 2006.08.24 3929
42 투자 Cap Rate (feat. 채부심) OBG 2023.11.08 3951
41 IT iOS 5’s Seven New Hidden Features Naya 2011.10.18 3957
40 IT npkfxsvc로 인한 시스템 부팅 속도 저하 해결 MoA 2014.07.07 3991
39 IT MP3, WAV, FLAC 파일 형식 간단 비교 Naya 2012.09.07 3992
Board Pagination Prev 1 ... 11 12 13 14 15 16 17 18 19 20 Next
/ 20