CraftML

Tom Yeh and Jeeeun Kim

Abstract

We explore web programming as a new paradigm for programmatic 3D modeling. Most existing approaches subscribe to the imperative programming paradigm. While useful, there exists a gulf of evaluation between procedural steps and the intended structure. We present CraftML, a language providing a declarative syntax where the code is the structure. CraftML offers a rich set of programming features familiar to web developers of all skill levels, such as tags, hyperlinks, document object model, cascade style sheet, JQuery, string interpolation, template engine, data injection, and scalable vector graphics. We develop an online IDE to support CraftML development, with features such as live preview, search, module import, and parameterization. Using examples and case studies, we demonstrate that CraftML offers a low floor for beginners to make simple designs, a high ceiling for experts to build complex computational models, and wide walls to support many application domains such as education, data physicalization, tactile graphics, assistive devices, and mechanical components.

Venue
CHI 2018
Volume
Proceedings of the 2018 CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3173574.3174101
PDF
https://dl.acm.org/doi/pdf/10.1145/3173574.3174101
Anthology ID
2018.chi.525

Cite

@inproceedings{yeh-kim-2018-craftml,
    title = {{CraftML}},
    author = {Tom Yeh and Jeeeun Kim},
    booktitle = {Proceedings of the 2018 CHI Conference on Human Factors in Computing Systems},
    isbn = {9781450356206},
    year = {2018},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3173574.3174101},
    url = {https://doi.org/10.1145/3173574.3174101},
    abstract = {We explore web programming as a new paradigm for programmatic 3D modeling. Most existing approaches subscribe to the imperative programming paradigm. While useful, there exists a gulf of evaluation between procedural steps and the intended structure. We present CraftML, a language providing a declarative syntax where the code is the structure. CraftML offers a rich set of programming features familiar to web developers of all skill levels, such as tags, hyperlinks, document object model, cascade style sheet, JQuery, string interpolation, template engine, data injection, and scalable vector graphics. We develop an online IDE to support CraftML development, with features such as live preview, search, module import, and parameterization. Using examples and case studies, we demonstrate that CraftML offers a low floor for beginners to make simple designs, a high ceiling for experts to build complex computational models, and wide walls to support many application domains such as education, data physicalization, tactile graphics, assistive devices, and mechanical components.}
}