Teaser for blog post

Is a color dark?

in
  • javascript
  • color

Color models

If someone knows only one color model, it’s probably RGB. It’s a great color space for computers to represent colors, but not intuitive or useful for humans. It’s especially not useful when objectively determining whether a color is dark or light.

Read more
Teaser for blog post

Email to Discord webhook

in
  • email
  • php
  • discord
  • webhook

Custom domain emailing

Earlier this year, I set up my robotics club’s website to be able to send and receive emails from its domain. For example, [email protected] or [email protected].

Read more
Teaser for blog post

Rainmeter binary clock line

in
  • lua
  • rainmeter
  • binary

Introduction

This tutorial will create a skin showing the number of seconds from the start of the year in binary with Rainmeter and Lua. Lua can be used with Rainmeter to load and execute skins. We’ll make a binary clock that shows the number of seconds elapsed from the beginning of the year. The two source files are here.

Screen recording of the binary Rainmeter skin, a line of 25 blue and white circles.
Final Rainmeter skin.
Read more
Teaser for blog post

Arduino binary clock

in
  • arduino
  • c
  • binary

Introduction

In this project, I used a MAX7219 for the LED dot matrix, and a DS3231 for the RTC module. Complete code here

Read more
Teaser for blog post

Kruskal's maze generation

in
  • javascript
  • visualization
  • algorithm

Introduction

Chances are, you’ve once wanted to make a progam for generating or solving mazes. There are dozens of maze algorithms. In my opinion, Kruskal’s algorithm is the simplest for generating mazes.
I made a demo of this at /projects/kruskal.

Read more
Teaser for blog post

My first blog post

in
  • jekyll
  • first

Introduction

This post basically just tests the CSS and code formatting on this site.

This is a test for code blocks and syntax highlighting. It’s some sample code for a simple Flask route.

@app.route("/")
def index():
    return "This is the homepage"

# some snippet of python
Read more