Skip to content

Instantly share code, notes, and snippets.

@angelaperrone
Created September 11, 2016 04:17
Show Gist options
  • Save angelaperrone/9c9579b83c0741cd76b2c20305ecabc3 to your computer and use it in GitHub Desktop.
Save angelaperrone/9c9579b83c0741cd76b2c20305ecabc3 to your computer and use it in GitHub Desktop.
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) {
//for (var w = 220; w<=220; w+=90) {
// for (var h = 170; h<=170; h-=60) {
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;
}
r.triangle (0, 790, 350, 790, 275, 550)
.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