logic gates in an illuminated manuscript