Skip to content

Zephurlbr/SVG-Triangle-Background-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Triangle Background Generator

A simple script that generates a faceted mesh background as an SVG file.

Preview

Preview

Usage

node scripts/generate-bg.js

Output: public/bg-mesh.svg

Customization

Edit scripts/generate-bg.js to adjust:

  • width / height - output dimensions
  • gridSize - triangle density (lower = more triangles)
  • maxBrightness - how bright the top area can be

License

GPL-3.0

About

Script that generates a dark, mesh background as an SVG file.

Topics

Resources

License

Stars

Watchers

Forks

Contributors