Share your repls and programming experiences

← Back to all posts
World's most customizable cube
CodeSeekerI (7)

About this project

Hi, so I made this 3D cube for fun but as I kept adding features it became a pretty nice project. Its not really useful but cool to look at.


Left click- Change direction

Right click- Stop rotating/resume rotating

Middle click- Change mode to color/speed

Scroll- Change color/speed

c- Keep movement changes on screen/clear movement changes on screen


Don't scroll too much after the cube turns black, because the same number of scrolls will be needed to come back to normal shades. Also, fork the repl and extend the output area to full screen to see the cube better. Another option is to use a different compiler.