Join CourseCourse Fee
This course is currently free. Sign up now!Learning Progress
Complete the project within 7 days after enrollment,Approximately 2 hours of lessons
This course is currently free. Sign up now!Learning Progress
Complete the project within 7 days after enrollment,Approximately 2 hours of lessons
About This Course
「碎形」,簡而言之,就是局部放大以後,跟本體長得一樣。
那到底有哪些東西是碎形呢?最經典的例子莫過於曼德博集合、柯赫雪花與謝爾賓斯基三角形。本堂課將介紹這幾種經典的碎形例子,並用程式來實現出謝爾賓斯基三角形。
接下來,就讓我們一塊兒來探討其中的奧妙吧!
What You Will Learn
實作謝爾賓斯基三角形
Knowledge Points
- JavaScript JS: ArrayJS: Array.lengthJS: Array.push()JS: Object
Why You Should Take This Course
碎形的最大魅力,在於它變化多端的美麗圖案。
如果可以把這個美麗圖案剖析到最小粒度,會發現跟原本的圖長的一樣,於是我們可以將每個圖案定義成一個物件,再利用二維陣列與使用迭代開發,來畫出整個美麗圖案。
Course Difficulty
對 JavaScript 有基礎認識,寫過小型專案的學生
Prerequisite Knowledge
JS: Array.push() JS: Object JS: ArrayCourse Features
線上編輯器即時演練
專案導向學習
影片引導
線上隨時複習
熱門程式語言