This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision |
| daniel-ho-generative [2021/06/27 23:28] – renick | daniel-ho-generative [2021/06/29 01:30] (current) – renick |
|---|
| |
| <HTML> | <HTML> |
| <iframe src="https://editor.p5js.org/daniel.ho/present/G-DjDRMYQ" width=99% height=799px></iframe> | <iframe src="https://editor.p5js.org/renick/present/CFQiYy25R" width=99% height=799px></iframe> |
| </HTML> | </HTML> |
| |
| ===== about my crazyDog.js ===== | ===== about my crazyDog.js ===== |
| |
| This is my crazyDog.js. I've been working on it all semester. The hardest thing was making the animation look good. The code for my artwork is below. | This is my crazyDog.js. I've been working on it all semester. I think the hardest thing was that I need to make the loop function slower. For example, if I draw a dog, and loop it 10 times, it only need 5 second, but now i want it to draw ten dogs but use 10 second. The thing that im proud of is that I found out that if I let the website lag enough, I cant let the loop get slower(dont try it, it might let your computer crash....). The code for my artwork is below. |
| |
| The animation code is released under the [[https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html|GNU Lesser General Public License v2.1]]. | The animation code is released under the [[https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html|GNU Lesser General Public License v2.1]]. |
| <Code:js> | <Code:js> |
| |
| **function setup() { | function setup() { |
| createCanvas(1800,780); | createCanvas(1800,780); |
| background(0) | background(0) |
| } | } |
| | |
| }** | } |
| |
| |