A training project using processing - creating a cube with all RGB colors and renders it in 3D
build with Processing 3.2.3 - https://processing.org/
You need peasyCam to work
Change LStep to change the resolution of the cube (I recommend to use a value of 4)