(get-renderer game)

Part of the Game protocol

Returns the internal `p5` object. This is the object you need to use to call p5.js functions. We are using p5.js in "instance mode" so its functions are not global.


After retrieving the p5 object, we can call any built-in p5 functions on it.
(let [p5 (get-renderer game)] (.directionalLight p5 (.color p5 250 250 250) (.createVector p5 100 0 0)))