custombrickmosaic / custombrickmosaic.github.io

MIT License
13 stars 5 forks source link

Options for mosaic pieces #2

Open EricPonvelle opened 1 month ago

EricPonvelle commented 1 month ago

Would it be possible to offer an option to use square or circle pieces when planning the mosaic?

custombrickmosaic commented 1 month ago

Hi Eric, the availability of square or round plates/tiles is tied to the selection of the lego set. So far, only the "Personalized Portrait" contains square plates. The algorithm for generating the mosaic does not distinguish between round or square shape anyways. So, it is only a matter of displaying the result. Feel free to design the mosaic with round plates and build it with square ones. You could also modify the "getPartListOfOneSet" function in the brickMosaic.js file and replace all 98138 (tile) and 6141 (stud) with 3024 to display all pieces as 1x1 square plates.