You're thinking of The Codex of Alchemical Engineering — around 21 levels of drawing glyphs to transform, bind and move basic elements toward the goal.
You can play it here:
https://www.kongregate.com/games/krispykrem/the-codex-of-alchemical-engineering