http://www.zomis.net/rnd/download.php?id=565
Level two is kinda the only level which are working more or less correctly so far.
Level one has problems with the right-down-left rotations (reversing the engine scan mode solves that though... but causes left-up-right to malfunction instead).
Levels 4 and 5 are just some elements displaying how I'm thinking in my head

Level 3 is one of the biggest problems... how should all those elements (displayed as red keys) continue to move on step 2-5?
Level 6 is also a major problem, how to stop ALL the rotation when something is in the way? And how to make the rotation continue when the sand has been digged away?
Note that it's preferable if the rotations are "stand alone", so that more than one rotation can be running at the same time per level.
And also, another problem: How to know when a rotation has been finished (that is, when the last element in the line has come back to it's original spot)
I have been thinking about using CE values for these things, a CE value which tells how many steps the element should take.
Any thoughts and ideas are welcome
