ysf的沙龍
Nature of Code閱讀心得與Python實作
83
免費公開
房間資訊
Daniel Shiffman所著「The Nature of Code」一書的閱讀心得,並用python及pygame來實作範例及練習題。 本作品採用創用CC BY-NC-SA 4.0授權條款 原書網頁版:https://natureofcode.com/
Top 5
1
The Nature of Code閱讀心得與Python實作:Chap. 11 Neuroevolution
2
The Nature of Code閱讀心得與Python實作:10.5 Building a Gesture...
3
The Nature of Code閱讀心得與Python實作:0.2 The Random Walker Class
4
The Nature of Code閱讀心得與Python實作:10.3 Putting the "Network"..
5
The Nature of Code閱讀心得與Python實作:8.4 Trees
1
The Nature of Code閱讀心得與Python實作:Chap. 11 Neuroevolution
2
The Nature of Code閱讀心得與Python實作:10.5 Building a Gesture...
3
The Nature of Code閱讀心得與Python實作:0.2 The Random Walker Class
4
The Nature of Code閱讀心得與Python實作:10.3 Putting the "Network"..
5
The Nature of Code閱讀心得與Python實作:8.4 Trees
全部
Chapter0,1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
全部
Chapter0,1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
全部類型
免費與付費
最新發佈
最新發佈
ysf
2024/07/16
The Nature of Code閱讀心得與Python實作:1.7 Motion with Vectors
介紹以物件導向的方式,以向量來實作物體運動的模擬程式。
#
python
#
Python
#
PYTHON
6
ysf
2024/07/16
The Nature of Code閱讀心得與Python實作:1.7 Motion with Vectors
介紹以物件導向的方式,以向量來實作物體運動的模擬程式。
#
python
#
Python
#
PYTHON
6
ysf
2024/07/15
The Nature of Code閱讀心得與Python實作:1.8 Acceleration
介紹如何在模擬物體運動時,引入加速度這個物理量。
#
python
#
Python
#
PYTHON
5
ysf
2024/07/15
The Nature of Code閱讀心得與Python實作:1.8 Acceleration
介紹如何在模擬物體運動時,引入加速度這個物理量。
#
python
#
Python
#
PYTHON
5
ysf
2024/07/08
The Nature of Code閱讀心得與Python實作:1.6 Normalizing Vectors
本節介紹向量的正規化。
#
python
#
Python
#
PYTHON
8
ysf
2024/07/08
The Nature of Code閱讀心得與Python實作:1.6 Normalizing Vectors
本節介紹向量的正規化。
#
python
#
Python
#
PYTHON
8
ysf
2024/07/05
The Nature of Code閱讀心得與Python實作:1.5 Vector Magnitude
本節介紹向量長度的計算。
#
python
#
Python
#
PYTHON
25
ysf
2024/07/05
The Nature of Code閱讀心得與Python實作:1.5 Vector Magnitude
本節介紹向量長度的計算。
#
python
#
Python
#
PYTHON
25
ysf
2024/07/01
The Nature of Code閱讀心得與Python實作:1.4 More Vector Math
介紹pygame支援的向量運算,以及向量的減法、乘法、除法實際上是怎麼計算的。
#
python
#
Python
#
PYTHON
9
ysf
2024/07/01
The Nature of Code閱讀心得與Python實作:1.4 More Vector Math
介紹pygame支援的向量運算,以及向量的減法、乘法、除法實際上是怎麼計算的。
#
python
#
Python
#
PYTHON
9
ysf
2024/06/28
The Nature of Code閱讀心得與Python實作:1.3 Vector Addition
介紹向量加法以及pygame向量的應用
#
python
#
PYTHON
#
Python
7
ysf
2024/06/28
The Nature of Code閱讀心得與Python實作:1.3 Vector Addition
介紹向量加法以及pygame向量的應用
#
python
#
PYTHON
#
Python
7
ysf
2024/06/24
The Nature of Code閱讀心得與Python實作:1.2 Vectors in...
這一節談的是向量的定義,以及如何運用向量來建立模擬物體運動時,關於位置和速度間的關係式。
#
python
#
Python
#
PYTHON
7
ysf
2024/06/24
The Nature of Code閱讀心得與Python實作:1.2 Vectors in...
這一節談的是向量的定義,以及如何運用向量來建立模擬物體運動時,關於位置和速度間的關係式。
#
python
#
Python
#
PYTHON
7
ysf
2024/06/20
The Nature of Code閱讀心得與Python實作:1.1 The Point of Vectors
使用向量來處理問題有很多好處,其中一個好處,就是可以減少變數的數量。在這節中,會用一個簡單的例子來介紹,使用向量跟不使用向量,對變數的數量會有什麼樣的影響。
#
python
#
Python
#
PYTHON
9
ysf
2024/06/20
The Nature of Code閱讀心得與Python實作:1.1 The Point of Vectors
使用向量來處理問題有很多好處,其中一個好處,就是可以減少變數的數量。在這節中,會用一個簡單的例子來介紹,使用向量跟不使用向量,對變數的數量會有什麼樣的影響。
#
python
#
Python
#
PYTHON
9
ysf
2024/06/17
The Nature of Code閱讀心得與Python實作:Chap. 1 Vectors
這一章介紹向量(vector)這個在物理、工程等領域非常重要的數學工具,以及如何用它來模擬一些物理現象。
#
python
#
Python
#
PYTHON
9
ysf
2024/06/17
The Nature of Code閱讀心得與Python實作:Chap. 1 Vectors
這一章介紹向量(vector)這個在物理、工程等領域非常重要的數學工具,以及如何用它來模擬一些物理現象。
#
python
#
Python
#
PYTHON
9
ysf
2024/06/13
The Nature of Code閱讀心得與Python實作:0.6 A Smoother Approach...
這一節的標題是A Smoother Approach with Perlin Noise,介紹由Ken Perlin所開發的Perlin noise,及其應用方式。
#
python
#
Python
#
PYTHON
6
ysf
2024/06/13
The Nature of Code閱讀心得與Python實作:0.6 A Smoother Approach...
這一節的標題是A Smoother Approach with Perlin Noise,介紹由Ken Perlin所開發的Perlin noise,及其應用方式。
#
python
#
Python
#
PYTHON
6
ysf
2024/06/09
The Nature of Code閱讀心得與Python實作:0.5 A Custom Distribution...
這一節介紹使用accept-reject algorithm來產生符合特定機率分布的亂數,使得random walker具備Lévy flight的能力。
#
python
#
Python
#
PYTHON
3
ysf
2024/06/09
The Nature of Code閱讀心得與Python實作:0.5 A Custom Distribution...
這一節介紹使用accept-reject algorithm來產生符合特定機率分布的亂數,使得random walker具備Lévy flight的能力。
#
python
#
Python
#
PYTHON
3
ysf
2024/06/05
The Nature of Code閱讀心得與Python實作:0.4 A Normal Distribution...
這一節的標題是0.4 A Normal Distribution of Random Numbers,介紹常態分布的基本概念,以及相關亂數產生器的使用方法與應用方式。
#
python
#
Python
#
PYTHON
7
ysf
2024/06/05
The Nature of Code閱讀心得與Python實作:0.4 A Normal Distribution...
這一節的標題是0.4 A Normal Distribution of Random Numbers,介紹常態分布的基本概念,以及相關亂數產生器的使用方法與應用方式。
#
python
#
Python
#
PYTHON
7
ysf
2024/05/31
The Nature of Code閱讀心得與Python實作:0.3 Probability and Non...
在模擬自然界中的事物時導入隨機性,可以讓結果看起來比較自然,但如果導入的隨機性都是uniform distribution,那未免也太呆板了。這時候,我們需要nonuniform distribution亂數,來讓模擬出來的結果,更像真的一樣。
#
python
#
pygame
#
機率
5
ysf
2024/05/31
The Nature of Code閱讀心得與Python實作:0.3 Probability and Non...
在模擬自然界中的事物時導入隨機性,可以讓結果看起來比較自然,但如果導入的隨機性都是uniform distribution,那未免也太呆板了。這時候,我們需要nonuniform distribution亂數,來讓模擬出來的結果,更像真的一樣。
#
python
#
pygame
#
機率
5
ysf
2024/05/27
The Nature of Code閱讀心得與Python實作:0.2 The Random Walker Class
這一節談的是用物件導向程式設計(object-oriented programming, OOP)的方式來實作隨機漫步。
#
python
#
Python
#
PYTHON
3
ysf
2024/05/27
The Nature of Code閱讀心得與Python實作:0.2 The Random Walker Class
這一節談的是用物件導向程式設計(object-oriented programming, OOP)的方式來實作隨機漫步。
#
python
#
Python
#
PYTHON
3
ysf
2024/05/25
The Nature of Code閱讀心得與Python實作:0.1 Random Walks
隨機漫步看似簡單,但卻是模擬許多自然界現象的基礎,相關的觀念及程式實作方式,對於瞭解亂數、機率、Perlin noise等工具,會有相當大的幫助。
#
隨機漫步
#
python
#
RandomWalk
4
ysf
2024/05/25
The Nature of Code閱讀心得與Python實作:0.1 Random Walks
隨機漫步看似簡單,但卻是模擬許多自然界現象的基礎,相關的觀念及程式實作方式,對於瞭解亂數、機率、Perlin noise等工具,會有相當大的幫助。
#
隨機漫步
#
python
#
RandomWalk
4
ysf
2024/05/25
The Nature of Code閱讀心得與Python實作:Chap. 0 Randomness
在這一章中,會透過介紹在螢幕上模擬物體移動時,其背後的原理與實作方法,來介紹亂數(random number)、隨機分布(random distribution)、Perlin noise等,這些可以用來引入隨機性的工具。
#
隨機性
#
randomness
#
python
1
ysf
2024/05/25
The Nature of Code閱讀心得與Python實作:Chap. 0 Randomness
在這一章中,會透過介紹在螢幕上模擬物體移動時,其背後的原理與實作方法,來介紹亂數(random number)、隨機分布(random distribution)、Perlin noise等,這些可以用來引入隨機性的工具。
#
隨機性
#
randomness
#
python
1
加入
Top 5
1
The Nature of Code閱讀心得與Python實作:Chap. 11 Neuroevolution
2
The Nature of Code閱讀心得與Python實作:10.5 Building a Gesture...
3
The Nature of Code閱讀心得與Python實作:0.2 The Random Walker Class
4
The Nature of Code閱讀心得與Python實作:10.3 Putting the "Network"..
5
The Nature of Code閱讀心得與Python實作:8.4 Trees
1
The Nature of Code閱讀心得與Python實作:Chap. 11 Neuroevolution
2
The Nature of Code閱讀心得與Python實作:10.5 Building a Gesture...
3
The Nature of Code閱讀心得與Python實作:0.2 The Random Walker Class
4
The Nature of Code閱讀心得與Python實作:10.3 Putting the "Network"..
5
The Nature of Code閱讀心得與Python實作:8.4 Trees
全部
Chapter0,1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
全部
Chapter0,1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
全部類型
免費與付費
最新發佈
最新發佈
ysf
2024/07/16
The Nature of Code閱讀心得與Python實作:1.7 Motion with Vectors
介紹以物件導向的方式,以向量來實作物體運動的模擬程式。
#
python
#
Python
#
PYTHON
6
ysf
2024/07/16
The Nature of Code閱讀心得與Python實作:1.7 Motion with Vectors
介紹以物件導向的方式,以向量來實作物體運動的模擬程式。
#
python
#
Python
#
PYTHON
6
ysf
2024/07/15
The Nature of Code閱讀心得與Python實作:1.8 Acceleration
介紹如何在模擬物體運動時,引入加速度這個物理量。
#
python
#
Python
#
PYTHON
5
ysf
2024/07/15
The Nature of Code閱讀心得與Python實作:1.8 Acceleration
介紹如何在模擬物體運動時,引入加速度這個物理量。
#
python
#
Python
#
PYTHON
5
ysf
2024/07/08
The Nature of Code閱讀心得與Python實作:1.6 Normalizing Vectors
本節介紹向量的正規化。
#
python
#
Python
#
PYTHON
8
ysf
2024/07/08
The Nature of Code閱讀心得與Python實作:1.6 Normalizing Vectors
本節介紹向量的正規化。
#
python
#
Python
#
PYTHON
8
ysf
2024/07/05
The Nature of Code閱讀心得與Python實作:1.5 Vector Magnitude
本節介紹向量長度的計算。
#
python
#
Python
#
PYTHON
25
ysf
2024/07/05
The Nature of Code閱讀心得與Python實作:1.5 Vector Magnitude
本節介紹向量長度的計算。
#
python
#
Python
#
PYTHON
25
ysf
2024/07/01
The Nature of Code閱讀心得與Python實作:1.4 More Vector Math
介紹pygame支援的向量運算,以及向量的減法、乘法、除法實際上是怎麼計算的。
#
python
#
Python
#
PYTHON
9
ysf
2024/07/01
The Nature of Code閱讀心得與Python實作:1.4 More Vector Math
介紹pygame支援的向量運算,以及向量的減法、乘法、除法實際上是怎麼計算的。
#
python
#
Python
#
PYTHON
9
ysf
2024/06/28
The Nature of Code閱讀心得與Python實作:1.3 Vector Addition
介紹向量加法以及pygame向量的應用
#
python
#
PYTHON
#
Python
7
ysf
2024/06/28
The Nature of Code閱讀心得與Python實作:1.3 Vector Addition
介紹向量加法以及pygame向量的應用
#
python
#
PYTHON
#
Python
7
ysf
2024/06/24
The Nature of Code閱讀心得與Python實作:1.2 Vectors in...
這一節談的是向量的定義,以及如何運用向量來建立模擬物體運動時,關於位置和速度間的關係式。
#
python
#
Python
#
PYTHON
7
ysf
2024/06/24
The Nature of Code閱讀心得與Python實作:1.2 Vectors in...
這一節談的是向量的定義,以及如何運用向量來建立模擬物體運動時,關於位置和速度間的關係式。
#
python
#
Python
#
PYTHON
7
ysf
2024/06/20
The Nature of Code閱讀心得與Python實作:1.1 The Point of Vectors
使用向量來處理問題有很多好處,其中一個好處,就是可以減少變數的數量。在這節中,會用一個簡單的例子來介紹,使用向量跟不使用向量,對變數的數量會有什麼樣的影響。
#
python
#
Python
#
PYTHON
9
ysf
2024/06/20
The Nature of Code閱讀心得與Python實作:1.1 The Point of Vectors
使用向量來處理問題有很多好處,其中一個好處,就是可以減少變數的數量。在這節中,會用一個簡單的例子來介紹,使用向量跟不使用向量,對變數的數量會有什麼樣的影響。
#
python
#
Python
#
PYTHON
9
ysf
2024/06/17
The Nature of Code閱讀心得與Python實作:Chap. 1 Vectors
這一章介紹向量(vector)這個在物理、工程等領域非常重要的數學工具,以及如何用它來模擬一些物理現象。
#
python
#
Python
#
PYTHON
9
ysf
2024/06/17
The Nature of Code閱讀心得與Python實作:Chap. 1 Vectors
這一章介紹向量(vector)這個在物理、工程等領域非常重要的數學工具,以及如何用它來模擬一些物理現象。
#
python
#
Python
#
PYTHON
9
ysf
2024/06/13
The Nature of Code閱讀心得與Python實作:0.6 A Smoother Approach...
這一節的標題是A Smoother Approach with Perlin Noise,介紹由Ken Perlin所開發的Perlin noise,及其應用方式。
#
python
#
Python
#
PYTHON
6
ysf
2024/06/13
The Nature of Code閱讀心得與Python實作:0.6 A Smoother Approach...
這一節的標題是A Smoother Approach with Perlin Noise,介紹由Ken Perlin所開發的Perlin noise,及其應用方式。
#
python
#
Python
#
PYTHON
6
ysf
2024/06/09
The Nature of Code閱讀心得與Python實作:0.5 A Custom Distribution...
這一節介紹使用accept-reject algorithm來產生符合特定機率分布的亂數,使得random walker具備Lévy flight的能力。
#
python
#
Python
#
PYTHON
3
ysf
2024/06/09
The Nature of Code閱讀心得與Python實作:0.5 A Custom Distribution...
這一節介紹使用accept-reject algorithm來產生符合特定機率分布的亂數,使得random walker具備Lévy flight的能力。
#
python
#
Python
#
PYTHON
3
ysf
2024/06/05
The Nature of Code閱讀心得與Python實作:0.4 A Normal Distribution...
這一節的標題是0.4 A Normal Distribution of Random Numbers,介紹常態分布的基本概念,以及相關亂數產生器的使用方法與應用方式。
#
python
#
Python
#
PYTHON
7
ysf
2024/06/05
The Nature of Code閱讀心得與Python實作:0.4 A Normal Distribution...
這一節的標題是0.4 A Normal Distribution of Random Numbers,介紹常態分布的基本概念,以及相關亂數產生器的使用方法與應用方式。
#
python
#
Python
#
PYTHON
7
ysf
2024/05/31
The Nature of Code閱讀心得與Python實作:0.3 Probability and Non...
在模擬自然界中的事物時導入隨機性,可以讓結果看起來比較自然,但如果導入的隨機性都是uniform distribution,那未免也太呆板了。這時候,我們需要nonuniform distribution亂數,來讓模擬出來的結果,更像真的一樣。
#
python
#
pygame
#
機率
5
ysf
2024/05/31
The Nature of Code閱讀心得與Python實作:0.3 Probability and Non...
在模擬自然界中的事物時導入隨機性,可以讓結果看起來比較自然,但如果導入的隨機性都是uniform distribution,那未免也太呆板了。這時候,我們需要nonuniform distribution亂數,來讓模擬出來的結果,更像真的一樣。
#
python
#
pygame
#
機率
5
ysf
2024/05/27
The Nature of Code閱讀心得與Python實作:0.2 The Random Walker Class
這一節談的是用物件導向程式設計(object-oriented programming, OOP)的方式來實作隨機漫步。
#
python
#
Python
#
PYTHON
3
ysf
2024/05/27
The Nature of Code閱讀心得與Python實作:0.2 The Random Walker Class
這一節談的是用物件導向程式設計(object-oriented programming, OOP)的方式來實作隨機漫步。
#
python
#
Python
#
PYTHON
3
ysf
2024/05/25
The Nature of Code閱讀心得與Python實作:0.1 Random Walks
隨機漫步看似簡單,但卻是模擬許多自然界現象的基礎,相關的觀念及程式實作方式,對於瞭解亂數、機率、Perlin noise等工具,會有相當大的幫助。
#
隨機漫步
#
python
#
RandomWalk
4
ysf
2024/05/25
The Nature of Code閱讀心得與Python實作:0.1 Random Walks
隨機漫步看似簡單,但卻是模擬許多自然界現象的基礎,相關的觀念及程式實作方式,對於瞭解亂數、機率、Perlin noise等工具,會有相當大的幫助。
#
隨機漫步
#
python
#
RandomWalk
4
ysf
2024/05/25
The Nature of Code閱讀心得與Python實作:Chap. 0 Randomness
在這一章中,會透過介紹在螢幕上模擬物體移動時,其背後的原理與實作方法,來介紹亂數(random number)、隨機分布(random distribution)、Perlin noise等,這些可以用來引入隨機性的工具。
#
隨機性
#
randomness
#
python
1
ysf
2024/05/25
The Nature of Code閱讀心得與Python實作:Chap. 0 Randomness
在這一章中,會透過介紹在螢幕上模擬物體移動時,其背後的原理與實作方法,來介紹亂數(random number)、隨機分布(random distribution)、Perlin noise等,這些可以用來引入隨機性的工具。
#
隨機性
#
randomness
#
python
1