Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
leomcelroy authored Aug 16, 2023
1 parent 45488e5 commit aa2c9c9
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions astro/public/art/leaf-leo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function veins() {
const x0 = t*leafLength;
const y0 = 0;

y = edge.interpolate(t+0.1)[1];
let y = edge.interpolate(t+0.1)[1];

const line = createTurtle([ x0, y0 ]);

Expand Down Expand Up @@ -76,15 +76,9 @@ t.iteratePath(pt => {
return [x, y]
});

t.translate([58, -60])
t.translate([125/2, 125/2], t.cc)
t.scale(17.2)

const workarea = createTurtle()
.forward(5*25.4)
.right(90)
.forward(4.8*25.4)

drawTurtles(
t,
workarea
t
);

2 comments on commit aa2c9c9

@vercel
Copy link

@vercel vercel bot commented on aa2c9c9 Aug 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

haxidraw-3dgallery – ./virtual-gallery

haxidraw-3dgallery-git-main.hackclub.dev
haxidraw-3dgallery.hackclub.dev

@vercel
Copy link

@vercel vercel bot commented on aa2c9c9 Aug 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

haxidraw-docs – ./docs

haxidraw-docs.hackclub.dev
haxidraw-docs-git-main.hackclub.dev

Please sign in to comment.