const imagePath = resolve(__dirname, '../src/images/example.jpg')
const imageAspectRatio = [11, 12] // [xCubes, yCubes] cubes in image
const cubeAspectRatio = [7, 10] // [xMosaics, yMosaics] mosaics in cube
const mosaicMatrix = new MosaicMatrix(imagePath, imageAspectRatio, cubeAspectRatio)
mosaicMatrix.generateMosaicImage // return base64 image
mosaicMatrix.generateInstructions // return PDF document
-
Notifications
You must be signed in to change notification settings - Fork 1
melrose13-69/mosaic
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published