This small project is inspired by trianglify. It will generate wallpapers with random patterns from a color palette from a hex. This project does not have a limit on resolution like the web page.
This project will create a light and a dark wallpaper based on the baseColor
. MacOS users can use a project like Wallpapper to create a dynamic wallpaper.
- Node.js
git clone https://github.com/brorbw/shibui
cd shibui
npm install
npm run start <path-to-config>
{
"width": 1920,
"height": 1080,
"cellSize": 70,
"variance": 1,
"intensity": 0.1,
"darkenAmount": 0.7,
"baseColor": "212337"
}
width
- Width of canvas
height
- Height of canvas
cellSize
- Size of triangles
variance
- Variance in angles
intensity
- Intensity of the coloring
darkenAmount
- Amount to darken the dark image
baseColor
- Color to create color palette on