These are scripts used to create a deck of cards and website. Credits to Matias Sj for helping in the development.
- From a list of challenges/card titles I used
prompt-chatgpt.txt
to generate cards.csv cards.csv
It the card titles + the visual description necessary to generate the illustrations + an optional text description in case the card requires extra explanationgenerate-illustration.py
It generates the cards for each visual description in cards.py and saves them atimages
foldergenerate-final-card.py
It goes through theimages
folder and puts that together with the optional descriptions incards.csv
, the card frames atframes
and some prefered font in thefonts
folder.resize.py
This converts all images to a smaller size and jpg format so they are lighter and the website is fast.