{"title":"Enhancements to a shape grammar interpreter","authors":"Xiao-Yu Wang, Kang Zhang","doi":"10.1145/3191801.3191805","DOIUrl":null,"url":null,"abstract":"This paper presents a shape grammar interpreter (SGI) with enhanced features. The shape grammar interpreter is able to automatically generate geometric products according to a given set of primitive shapes and rules applied to shapes. Several new features have been implemented to this enhanced SGI. Complicated shapes can now be imported into the SGI in the forms of images or polygons. Coloring functions are introduced to the SGI. Users are allowed to fill a shape with any chosen color. The color changes with grammar rules on how to fill a shape. We approach the enhancements in a software engineering perspective and analyze the structural changes of the shape grammar interpreter due to the new features. The SGI is powerful enough to automatically generate designs in many applications. As a case study, we perform the entire process of specification and generation of a logo design. As an open source software, the enhanced SGI enables future developers to further explore this software.","PeriodicalId":195387,"journal":{"name":"Proceedings of the 3rd International Workshop on Interactive and Spatial Computing","volume":"4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-04-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 3rd International Workshop on Interactive and Spatial Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3191801.3191805","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5
Abstract
This paper presents a shape grammar interpreter (SGI) with enhanced features. The shape grammar interpreter is able to automatically generate geometric products according to a given set of primitive shapes and rules applied to shapes. Several new features have been implemented to this enhanced SGI. Complicated shapes can now be imported into the SGI in the forms of images or polygons. Coloring functions are introduced to the SGI. Users are allowed to fill a shape with any chosen color. The color changes with grammar rules on how to fill a shape. We approach the enhancements in a software engineering perspective and analyze the structural changes of the shape grammar interpreter due to the new features. The SGI is powerful enough to automatically generate designs in many applications. As a case study, we perform the entire process of specification and generation of a logo design. As an open source software, the enhanced SGI enables future developers to further explore this software.