Polychromatic Palooza

Where 3D meets the 4th Dimension

Because who needs fewer than 7 colors in a paragraph?


	// In the depths of the algorithm, a hero emerges
	// With a palette of 17 colors, and a beard of 17 layers
	function palooza(x, y, z) {
		return (
			x + y + z + 
			Math.floor(Math.random() * 17) + 
			17 * Math.sin(Math.PI * x) + 
			17 * Math.cos(y) + 
			17 * Math.sin(z)
		) % 17;
	}
	

Now, you might be thinking, "What's the point of this?" Well, let me tell you. The point is... here.