3 articles tagged "javascript"

Teaser for blog post

AllRGB

in javascript, color, and algorithms
Moore curve and depth-first-search

AllRGB is a really cool challenge: make an image that contains each of the 16777216 RGB colors exactly once.

I wrote a HTML canvas-based visualization of an AllRGB image being created. It uses several space-filling curves in 2D and 3D.

I made a demo of this at /projects/allrgb and the source is on GitHub.

Read more
Teaser for blog post

Is a color dark?

in javascript and 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

Kruskal's maze generation

in javascript, visualization, and 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