Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 1.18 KB

README.md

File metadata and controls

38 lines (27 loc) · 1.18 KB

One Line

One Line is a project inspired by the art style of TFoust10, in which images are drawn and filled using a single line. In an attempt to get a similar effect, I used a recursive maze generation algorithm to fill the region with a maze containing no loops/cycles. I then traced around the perimeter of the maze to get a single line representation of it.

Pixelate the image

Instructions

1. Upload a black and white image that represents the region you want to fill

2. Change the available settings to your liking

3. Press the 'Refresh' button to generate a new output

How it works

Step 1: The input image is pixelated at the specified detail level

Pixelate the image

Step 2: The pixelated region is transformed into a maze

Make a make in the region

Step 3: The perimeter of the maze is traced until it reaches the start

Trace around the maze

Project Setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build