README

  • #documentation

This article contains every feature of this website and planned updates.

Design

Layout

The layout is a standard responsive, mobile first approach. On mobile devices and small screens, elements are stacked and the menu is contained inside a hamburger drop down. On wide screen and desktop devices, the layout shifts to a sidebar for the menu with main content and footer to the right of the sidebar menu.

For articles, the main content is further divided to hold a table of contents to the right for larger devices. For tablets and mid sized devices, the menu shifts to the standard header at the top of the page and table of contents is hidden as a tradeoff for the smaller viewport.

Pages

Home

Makerspace

The idea comes from the concept of stations for working collaboratively and informal learning through exploration. The home page uses the phaser.js library to create a game where site navigation can be achieved by manipulating the character to the relevant station. The background changes by the season where leaves may be observed in the fall, snow in the winter, etc. The character may be controlled with the keypad or mouse clicks and for touch devices; clicking or holding until a joystick appears. Entering the blog station will pop up a menu with the top five most recent articles.

Blog

Blogging and writing is very time consuming. I want to write at least one article per week at some point but I don’t want articles to be repetitive or of low quality. I also want articles to be easy to read along and understand. In addition, my interests are vast and I want blogs to be at least somewhat focused or have a meaningful path that readers can track and follow. Stay tuned as I figure out what I want to put on my site!

The blog page also features a search text box for finding articles along with tags. Table of contents is available for navigation when using larger screens. There is a comments section as well but it requires a github account.

About

Never have been good at describing myself so there isn’t much content here. I’ve also never been a fan of taking pictures so an svg drawn image using my two favorite colors (red and blue) is shown for my selfie. The text on the chest is the Lee character which represents my last name. I don’t have tattoos or earrings but always thought the concept was interesting in a character visual.

Projects

The projects page pulls public projects from github and lists them. Projects may also be added manually and optional links to source code, demo, or article write up may be toggled.

The style draws from the idea that projects are laid out on a cork bulletin board with each project tacked on separated by the year the project was started. The current active project is marked by an X.

Resume

Self explanatory. Just a simple overview of everything I have done so far as a software engineer.

Currently the gallery holds placeholder images. On initial load a camera is focused on a scrapbook and once the picture is taken, opens the scrapbook to the first page. This is only done on initial load. Page navigation is built in.

Contact

My contact page. Not much has been done here yet.

404

Features an animated lone ship rocking back and forth in a stormy sea. The image and all animations use only svg to define the shapes and animations that occur such as rain and lightning.

Features

p5.js

The project contains the ability to integrate p5.js sketches into any page including articles that use MDX as MDX supports JSX components. This integration was developed in order to provide visuals for concepts that are easier understood through visuals and animation as an alternative to images.

Every new sketch is registered with a unique name that identifies it so sketches may be reused across articles and uses a generic container that keeps the canvas aligned on the page with a caption. For example, a paint splatter sketch is registered with the key as “paintSplatter”. The class is found in the registry and is drawn using p5 instance mode to sketch() which internally does the setup() and draw() required to paint the canvas.

nature-of-code-example-sketch.mdx
<SketchFigure
  sketch="paintSplatter"
  caption='Paint splatter code example from the book "The Nature of Code."'
/>
Paint splatter code example from the book "The Nature of Code."

Future Updates

Color Theme

Color theme picker for choosing the color theme of site. Currently a moon placeholder icon is in place that is not interactive on mobile screens. Most websites these days contain a light and dark mode toggle using an icon for light/dark such as the sun and moon and the ability to handle system settings. The idea is to take it a bit further and have a color palatte of different color schemes to choose from.

Comments