Class: Visualizer

Visualizer()

Class representing the visualizer of the interpreter that sets all the three.js elements.

Constructor

new Visualizer()

Source:

Methods

animate()

Set the animate function for rendering the canvas.
Source:

initVisualizer()

Init all the elements for the visualization in the canvas.
Source:

render()

Renders the this.scene with the corresponding this.camera.
Source:

setCamera()

Set the three.js camera.
Source:

setRenderer()

Set the three.js renderer.
Source:

setScene()

Set the three.js scene.
Source: