摘要:
访问在线编辑器 https://editor.p5js.org/ function setup() { createCanvas(800, 400); background(0); } function draw() { if (mouseIsPressed) { stroke(255); fill 阅读全文
摘要:
Date.prototype.format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //小时 "m+": this.ge 阅读全文