Jordanne

Yuannish

There’s always someone taking care of me. It’s her!

Yuanyuan

Yuanyuan watching over me

Tags: Yuanyuan

Nested for Loop of Tiles p5.js

Syntax highlighting test.

let tileWidth = 50;

for (let j = 0; j < height / tileWidth; j++) {
  for (let i = 0; i < width / tileWidth; i++) {
    circle(
      i * tileWidth + tileWidth / 2,
      j * tileWidth + tileWidth / 2,
      tileWidth
    );
  }
}
Tags: p5

Hugo

Hugo command line

create a new site

hugo new site hamstersite

adding a theme from Hugo Themes

cd hamstersite/themes git clone [url of the theme]

configuring config.toml to the new theme

theme = "hamstery-theme" There are probably some theme-specific options too. Check the toml config file in the example site file and copy it over.

06:47