Skip to content

Instantly share code, notes, and snippets.

View exu3's full-sized avatar

Ella exu3

View GitHub Profile
@exu3
exu3 / turtle.js
Last active April 19, 2023 00:22
basic drawing thing interface
class Turtle {
constructor() {
this.drawing = true;
this.location = { x: 0, y: 0 };
this.angle = 0;
this.path = [[{ x: 0, y: 0 }]];
this.size = 1;
this.color = "black";
}
@exu3
exu3 / call-for-pen-holders.md
Last active March 24, 2023 13:18
CFP (Call For Pen holders!)

Open call for pen holders 📣

Design a pen holder for the drawing machine and send it in the #development-of-things-and-stuff channel on Slack. 3D-modeling it using CAD would be very cool (we’ve been using OnShape; feel free to use your CAD tool of choice), but a 2D illustration (on paper or digital) would also be acceptable. If you design a pen holder and make a post in #development-of-things-and-stuff on Slack detailing your design with images/drawings/3D models, I will mail you a physical artifact from Hack Club HQ. Perhaps, I will even fabricate your design and mail it to you, depending on how many there are.

Design constraints:

  • Able to move up and down, using a servo probably
  • Would be ideal if it used a compliant mechanism and mostly 3D printed
  • Attaches to the belt tensioner (probably with two M5 screws). Can use existing belt tensioner design, or if you feel inclined to design a new one, that’s also cool.
  • Optimize for low
@exu3
exu3 / instructions.js
Last active December 5, 2022 20:34
Grow your sage seeds!
// instructions to grow your new sage seeds. Happy Sprigging!
// post a picture of your sage plant in #sage on Slack!
const container = new Container({ diameter: '6 inches', location: 'indoors' });
const soil = require('soil');
const seeds = require('seeds');
const sun = require('sun');
const dailyWater = 100; // in milliliters
async function grow(soil, container, seeds, sun, dailyWater) {
@exu3
exu3 / bank.css
Last active April 1, 2022 17:03
test css gist
@font-face {
font-family: "Wack Club Sans";
src: url("https://cloud-599nblthw-hack-club-bot.vercel.app/0wackclubsans-regular.woff2")
format("woff2");
}
body {
font-family: "Wack Club Sans", sans-serif;
font-size: 1.4em;
transform: rotate(2deg);
int blink = 50; //delay value in milleseconds for first domino sequence
int invertedBlink = 200; //delay for inside out pattern
void setup() {
// put your setup code here, to run once:
pinMode(4,OUTPUT);
pinMode(6,OUTPUT);
pinMode(7,OUTPUT);
pinMode(8,OUTPUT);
pinMode(9,OUTPUT);