• Basil.js Postcards

  • Basil.js Postcards

  • Basil.js Postcards

Generative Coding

Year

2022

Subtitle

Houseplant Postcards

This project involved generating a series of postcards about houseplants using InDesign and the Basil.js coding library. I created a structured JSON file containing key data for each plant, including its name, origin country, and care temperature range. The JSON was linked to a folder of houseplant images, automatically matching plant names with their corresponding images.

The postcard layouts were fully generated through code. The front side displayed the plant’s image and name, while the back side included the origin country of the plant as well as a gradient that visually represented the plant’s temperature care range. The gradient colors were mapped programmatically to reflect minimum and maximum temperatures.