Yes but those are basically mouse gestures (like in Black&White), i'm actually thinking about a totally freaked out world
Like i said it's just an idea that's not easy to explain.
A game where those painted spells would work very well is Dungeon Master, i think you had to combine runes to get certain spells. And the runes had easy to paint symboles like squares and lines.