代码拉取完成,页面将自动刷新
Code following this online class:
Creative Codeing with JavaScript
The project implements a sketch-switcher (chooser.js). Each sketch does not call canvasSketch itself, but instead just exports
a name
, sketch
, and (optional) createPane
method.
The chooser then managers stopping any previous animation going on and removing the canvas that was used (since canvas-sketch by default will add another one to the body).
It may be possible that the sketch-manager from canvas-sketh could be used more intelligently, but this was a quick and easy way to deal with it.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。