互動編程習作1——表現隨機行爲及牛頓運動學

第0章 一、參照案例以及拓展 利用柏林噪聲生成地形 二、效果截圖 三、代碼以及說明 int cols,rows; int density =30; int w=1800; int h=1500; float[][] terrain; float jump=0; void setup() { size(600,600,P3D); cols=w/density; rows=h/density; ter
相關文章
相關標籤/搜索