On the Subject of 4D Maze

How to imagine a 4-dimensional space? Easy! Imagine N-dimensional space, and then imagine that N is equal to four.

Defuser starts at a random position and orientation in a 4D maze. On the module, this maze is displayed as a projection onto a 120-degree cubic retina. Determine the location of the defuser using the colors of the surrounding walls. The maze map is cyclic: moving off one of the edges will take the defuser to the space on the opposite side.

To defuse the module, go to the shown coordinates and press display. Coordinates format is (X;Y;Z;W). Use the buttons on the right of the module to rotate (Left/Right; Up/Down; Ana/Kata) and the large button on the bottom to move Forward.

The module has a button for switching the display mode. The normal mode only shows the walls adjacent to the defuser. The advanced mode has a higher display range. Advanced mode is enabled by default. Default mode can be changed in mod settings.

The module has a button for toggling the wiggle mode. Wiggle mode is enabled by default. Default mode can be changed in mod settings.

Repeated pressing of the rotation or movement buttons will add these actions to the queue. The larger the queue, the faster the animation will be.

When a module is solved, it will automatically walk through the maze at random. Press the coordinate display again to disable automatic movement. If automatic movement is disabled, the rotation and movement buttons will become active again. The automatic activation of this movement can be disabled in mod settings.

Walls Reference

Format is [coords] [adjacent walls]. Walls are sorted by RGBCMYK.

1,1,1,3 RBBCYYKK 1,1,1,5 RBBCCCYK 1,1,2,3 GYYYYKKK 1,1,3,2 RCCMYYKK 1,1,3,4 RGYYKKKK 1,1,3,5 RGCMMKKK
1,1,4,1 RBBCMKKK 1,1,4,2 RYKKKKKK 1,1,4,3 RGBBCYKK 1,1,5,2 RBBCMMKK 1,1,5,4 RBBCMYKK 1,1,5,5 BBBMKKKK
1,2,1,2 RRGBBCKK 1,2,2,5 GBCCMMYK 1,2,3,1 RGBBMMKK 1,2,3,3 GBCCMYYK 1,2,3,4 GBMYKKKK 1,2,4,2 BBBMKKKK
1,2,4,4 RRRBYKKK 1,2,5,1 RBBBBKKK 1,2,5,2 RMKKKKKK 1,2,5,3 BBCKKKKK 1,2,5,4 RCKKKKKK 1,2,5,5 RCKKKKKK
1,3,2,3 GBBCCCKK 1,3,2,5 BBBBCMKK 1,3,3,1 BBCYKKKK 1,3,3,2 RCCMYK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