ChessThinker

ChessThinker

0-day streak
Just competed in my first Hack Club affiliated hackathon in Flagstaff, Arizona! The hackathon was divided into middle and high school (I'm in 8th). My team got first place in Middle School. The theme was to figure out what to do after landing on a new planet. My team built Pondilate! Check it out here: pondilate.netlify.app
https://scrapbook-into-the-redwoods.s3.us-east-1.amazonaws.com/d381442a-37fd-49fd-8e1f-92d4112027ea-image.png
Just spent 3 hours improving my portfolio site. Small improvements and fixes over time make something great! Check out the site at pizzalover125.tech
https://scrapbook-into-the-redwoods.s3.amazonaws.com/e1d89e2f-e682-4a32-973b-f3f9762b4871-image.png
summer-of-making emoji
https://scrapbook-into-the-redwoods.s3.amazonaws.com/2a80d509-ed8a-4723-b041-b2cd2c569afd-image.png
github emoji
summer-of-making emoji
I finished my pcb hacker card! Tell me your thoughts:
https://scrapbook-into-the-redwoods.s3.amazonaws.com/3c295acf-12e2-49fa-bae5-7fa9a4a285c7-image.png
pcb emoji
summer-of-making emoji
Meet Weathub, the all-in-one weather station! It simply tells you the room temperature and humidity, and includes the proprietary Hot-O-Meter technology that tells you how hot a room is with a quick glance! Check it out: wokwi.com/projects/405255191220699137
https://imgutil.s3.us-east-2.amazonaws.com/bdc2a5cd5df1508bb15da1e6b0d5a48e49334b73ab1f345c24bb4a308cc0031f/e6918233-4896-4d35-814d-acad26201cfe.png
summer-of-making emoji
https://imgutil.s3.us-east-2.amazonaws.com/bdc2a5cd5df1508bb15da1e6b0d5a48e49334b73ab1f345c24bb4a308cc0031f/41f49646-7cb6-4182-b2ad-d16ddfbd0a6b.png
summer-of-making emoji
https://imgutil.s3.us-east-2.amazonaws.com/e1dfada8f16bb15190900609efb517045b7129a796720d71f9b4187ec6fa4534/77a3d6c2-a358-4419-9bd4-c932cdfb5bd8.png
summer-of-making emoji
https://imgutil.s3.us-east-2.amazonaws.com/5fca0cb1ea5a84a8ad07c89d113b2fe9f1cbf5abf836c250744f75019683009b/8fb0ea8d-f651-4e54-bc80-937f3fa6b5eb.png
summer-of-making emoji
https://imgutil.s3.us-east-2.amazonaws.com/6502a28eb79659e9d2f56cedfce51579306842bc7cdc80548673bf0d921d7841/6e225e7d-4fec-4f99-b80c-8e4989e16e6c.png
github emoji
summer-of-making emoji
https://imgutil.s3.us-east-2.amazonaws.com/0008c04713c25c16250456841d99ac03a9148821d5e45549a0193b48e63139fd/422c0c4c-bdc3-4b56-bde2-a76f98051822.png
github emoji
summer-of-making emoji
So... I tried making a chessboard generator in Blot. However, I didn't realize how difficult Blot actually was. Then I tried downgrading to a checkerboard with checkers generator. I kept trying, but didn't get anywhere. So, unfortunately, due to interests in other projects, I have decided to just keep it as a chessboard generator. Here is the final code: const finalLines = []; // CHANGE THESE const rectWidth = 47; // Higher better, so you don't see individual lines const squares = 37; // Don't get this too high // DON'T CHANGE THIS (Performace reasons) const spacing = 1; const width = squares rectWidth; const height = squares rectWidth; setDocDimensions(width, height); function filledRect(w, h, spacing) { const result = []; const numLines = Math.floor(h / spacing); for (let i = 0; i < numLines; i++) { const y = (i + 0.5) spacing - h / 2; const line = [ [-w / 2, y], [w / 2, y] ]; result.push(line); } return result; } for (let i = 0; i < squares; i++) { for (let j = 0; j < squares; j++) { if ((i % 2 === 0 && j % 2 === 0) || (i % 2 !== 0 && j % 2 !== 0)) { const rect1 = filledRect(rectWidth, rectWidth, spacing); bt.translate(rect1, [rectWidth i, rectWidth * j]); bt.join(finalLines, rect1); } } } const finalLinesBounds = bt.bounds(finalLines); bt.translate( finalLines, [width / 2, height / 2], finalLinesBounds.cc ); drawLines(finalLines);
https://scrapbook-into-the-redwoods.s3.amazonaws.com/b2c3733b-3e26-4de1-977c-848dfc59854f-image.png
goose-honk-technologist emoji
summer-of-making emoji
Just made a automatic checkerboard generator, where you can set all the parameters! const finalLines = []; const rectWidth = 10; const squares = 10; const spacing = 1; const width = squaresrectWidth; const height = squaresrectWidth; setDocDimensions(width, height); function filledRect(w, h, spacing) { const result = []; const numLines = Math.floor(h / spacing); for (let i = 0; i < numLines; i++) { const y = (i + 0.5) spacing - h / 2; const line = [ [-w / 2, y], [w / 2, y] ]; result.push(line); } return result; } for (let i = 0; i < squares; i++) { for (let j = 0; j < squares; j++) { if ((i % 2 === 0 && j % 2 === 0) || (i % 2 !== 0 && j % 2 !== 0)) { const rect1 = filledRect(rectWidth, rectWidth, spacing); bt.translate(rect1, [rectWidth i, rectWidth * j]); bt.join(finalLines, rect1); } } } const finalLinesBounds = bt.bounds(finalLines); bt.translate( finalLines, [width / 2, height / 2], finalLinesBounds.cc ); drawLines(finalLines);
https://scrapbook-into-the-redwoods.s3.amazonaws.com/05dcf27c-1128-4766-be0e-e945b2164f93-image.pnghttps://scrapbook-into-the-redwoods.s3.amazonaws.com/f4036463-e86b-4acc-a8ba-1db83b4aeab9-image.png
summer-of-making emoji
https://imgutil.s3.us-east-2.amazonaws.com/e05c48f1970288c4d4291e878cb3f688814742a78d194a8c78c56075b82be43e/43bfa110-704c-4aa3-bb22-eecbd951ca01.png
https://imgutil.s3.us-east-2.amazonaws.com/986a86212ee43eef05ad461378e61b9d727a989877abf4513c2ec1084c3a8197/683c5a56-bd61-40d8-a276-65db84664159.png
summer-of-making emoji
Just got oled screen working!
https://scrapbook-into-the-redwoods.s3.amazonaws.com/6e2bdb08-7070-4dfd-8d23-a10118a75fe0-image.png
summer-of-making emoji
Just got hello world working on wowki. Good start!
https://scrapbook-into-the-redwoods.s3.amazonaws.com/4381a272-c32f-4e3a-bf9e-a40986522232-image.png