2020年10月26日

摘要: 摘要 添加电源:Group 选 Sources;Family 选 POWER_SOURCES;Component 选 DC_POWER 添加灯泡:Group: Indicators; Family: LAMP; Component: 12V_10W 添加地:Group: Sources; Famil 阅读全文
posted @ 2020-10-26 23:17 iMe 阅读(8216) 评论(0) 推荐(0) 编辑
 
摘要: 程序运行效果: Processing代码: // gradiant varied by distance to mouse int w = 5; // width of each rectangle int y; void setup(){ size(640, 480); y = height/2; 阅读全文
posted @ 2020-10-26 21:44 iMe 阅读(164) 评论(0) 推荐(0) 编辑
 
摘要: 效果演示: Processing 代码: // simple emulation of gravity float x; float y; // y(t) float speed = 0; float g = 0.1; // gravity void setup(){ size(640, 480); 阅读全文
posted @ 2020-10-26 21:14 iMe 阅读(1011) 评论(0) 推荐(0) 编辑