The Chaos Game

버전 1.0.0.1 (256 KB) 작성자: David Garrison
Play the Chaos Game to generate interesting shapes using a semi-random process
다운로드 수: 1.5K
업데이트 날짜: 2016/9/1

라이선스 보기

편집자 메모: This file was selected as MATLAB Central Pick of the Week

The Chaos Game is a mathematical method used to create a sequence of points iteratively using a simple set of rules. In the Chaos game we start with a random point, use the rules to generate each successive point, then plot the resulting set of points.
Here are the rules of the game:
* Define 3 vertices in the x-y plane that define an equilateral triangle
* Start with a random initial point .
* At each step, select one of the 3 vertices at random
* Determine the next point by moving halfway from the selected vertex to the current point
* Plot the next point

인용 양식

David Garrison (2024). The Chaos Game (https://www.mathworks.com/matlabcentral/fileexchange/55508-the-chaos-game), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2016a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Just for fun에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.1

Updated license

1.0.0.0

New thumbnail