Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cutwell/lego-art

Generate instructions/templates for Lego mosaics from custom images
https://github.com/cutwell/lego-art

art-generator lego lego-art mosaic mosaic-generator

Last synced: about 1 month ago
JSON representation

Generate instructions/templates for Lego mosaics from custom images

Awesome Lists containing this project

README

        

# LEGO Art
Generate instructions/templates for Lego mosaics from custom images.

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

- Generate mosaics / instructions from images.
- Make custom LEGO art by [buying bricks](https://www.lego.com/en-gb/pick-and-build/pick-a-brick?perPage=400&designNumber=35381) to match output colors.

![An example instruction set for a mosaic of Starry Night by Van Gogh.](https://github.com/Cutwell/lego-art/blob/main/examples/Starry%20Night%2016x16.png)

## How to use

1. Visit a live demo [here](https://cutwell.github.io/lego-art/).

2. Upload an image.

3. Adjust the desired width/height of the mosaic.
- For best results, ensure the width/height ratio of your mosaic matches the original width/height ratio of your image.
- You can adjust this even after generating a mosaic, although you'll need to press `Generate` again to re-create the mosaic to fit the new space.

4. Adjust the background board color and press `Generate` to create a mosaic.

## Contributing

For information on how to set up your dev environment and contribute, see [here](.github/CONTRIBUTING.md).

## License

MIT

## Attribution

- [Lego SCSS](https://codepen.io/MisterCurtis/pen/LxPpLO)