![Serpiente Mágica screenshot](https://private-user-images.githubusercontent.com/2573642/253201478-c17ed6ca-e6c1-40b7-8b96-06b2fb46ec82.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk2MzI4NzMsIm5iZiI6MTcxOTYzMjU3MywicGF0aCI6Ii8yNTczNjQyLzI1MzIwMTQ3OC1jMTdlZDZjYS1lNmMxLTQwYjctOGI5Ni0wNmIyZmI0NmVjODIuanBnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjlUMDM0MjUzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZDkwOGNiYzZmYmNlYzY5NTY4NmQwMWU0ZTdmNjU3MTZlY2RjZWJmNDRhOGNjNGIzZGRmNmEyY2M1ZjMyYjkwMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.eHmRZDu6Uq6cRXDZVZ3BX6KnTaWy_6hfGVXhcXbNvNQ)
Rubik invented many "mathematical" toys in the eighties. Rubik's cube was the most popular, but Rubik's snake is also common in the hands of today's children. This processing scripts is a demo on how you could use processing to render the Rubik's snake.
This script allows you to use onscreen controls to select a prism and rotate it.