Stained glass windows??

my teacher wanted me to find a recipe for a stained glass window. someone i know has made one with sugar && water then colored it with food die but doesn’t remember the recipe. does anyone know the recipe?