Generate tesselated patterns from hand-drawn images.
It currently works with three patterns.
Uses an equilateral triangle to generate an image of tessalating hexagons.
Tiles a triangular shape around a hexagon.
Tiles any rectangular image.
The guide mode generates a template which can be used as a layer mask when creating images.
- clone the repo
- upload your input image to the /assets/images folder
- add your input image in place of the demo image, or drag and drop the image to the canvas
// HexCanvas.vue
<div class="image-holder">
<img ref="image" class="image" src="~/assets/images/patternate_demo.png"/>
</div>
- use the inputs on the menu to specify the height and width of your pattern, then click on the save icon
- improved interface
- add a background colour to patterns with transparency
- drag and drop image upload
- more pattern modes
Contributions welcome!