Skip to content

Instantly share code, notes, and snippets.

View Taureon's full-sized avatar

Taureon Taureon

View GitHub Profile
@Taureon
Taureon / flowerdrawer.js
Last active November 15, 2024 22:15
source code of a thing that drew a flower that i posted on wetdry.world
// gist for: https://wetdry.world/@taureon/113489275750335143
// NOTE: this is intended to just be pasted in a new tab's console
while (document.body.lastChild) document.body.lastChild.remove();
let canvas = document.createElement('canvas'),
ctx = canvas.getContext('2d');
canvas.width = 500;
canvas.height = 500;
canvas.style.width = canvas.width + 'px';
canvas.style.height = canvas.height + 'px';