【#文档大全网# 导语】以下是®文档大全网的小编为您整理的《用processing软件制作钢琴代码》,欢迎阅读!
size(800,400);
background(1); rect(1,1,66,388); rect(50,1,66,388); rect(100,1,66,388); rect(150,1,66,388); rect(200,1,66,388); rect(250,1,66,388); rect(300,1,66,388); rect(350,1,66,388); rect(400,1,66,388); rect(450,1,66,388); rect(500,1,66,388); rect(550,1,66,388); rect(600,1,66,388); rect(650,1,66,388); rect(700,1,66,388); rect(750,1,66,388); rect(800,1,66,388);
fill(0);
rect(30,1,40,188); rect(80,1,40,188); rect(130,1,40,188);
rect(235,1,40,188); rect(285,1,40,188);
rect(385,1,40,188); rect(435,1,40,188); rect(485,1,40,188);
rect(585,1,40,188);
rect(635,1,40,188);
rect(735,1,40,188);
本文来源:https://www.wddqxz.cn/92c0615e3c1ec5da50e270d7.html