2021 Volume 50 Issue 3 Pages 419-424
While automation has advanced in various fields in recent years, the wrapping of souvenirs is often done manually. In recent years, automation in various fields has been progressing, but the wrapping of souvenirs and other gifts is often done by hand. Manually wrapping box-shaped gifts requires personal experience and skills to make them look good. In this study, we developed an application that automatically generates a wrapping paper design that maintains the continuity of the pattern at the end of wrapping. We assumed that the texture to be generated is a plain stripe, the object of wrapping is a rectangular box, and the technique is diagonal wrapping. In order to generate stripes, we first define one of the large surfaces of the box as the ”main surface” and generate stripes on the main surface. The pattern on the main surface is mirrored on the part of the wrapping paper that faces the main surface. Finally, the side portions are generated, and the wrapping paper generation is completed. We used the functions we created in practice. As a result, we were able to maintain the continuity of the pattern on the bottom and sides.