Created
September 11, 2016 04:21
-
-
Save angelaperrone/28d5641d8bfd8595130c339905af349c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var r = new Rune({ | |
container: "#canvas", | |
width: 800, | |
height: 800, | |
debug: true | |
}); | |
var w = 205; | |
var h = 170; | |
var y = 704; | |
for (var x = 350; x <= 800; x += 110) { | |
r.ellipse(x, y, w, h) | |
.fill(0, 0, 0) | |
.stroke(0); | |
w = w*0.41; | |
h = h*0.33; | |
y = y+(w*0.60); | |
x = x-40; | |
} | |
for (var o = 0; o<=350; o+=20) { | |
//for (var p = 775; p>=775; p-=15) { | |
//for (var o = 0; o<=275; o+=19) { | |
for (var p = 790; p >= 550; p-=5) { | |
if (o>=325 && p>=605){ | |
r.triangle (0, 790, o+1, p-5,o, p) | |
.fill (255, 255, 255) | |
.stroke (0) | |
} | |
} | |
} | |
r.draw(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment