Class: GrTorusKnot

SimpleObjects.GrTorusKnot(paramsopt, paramInfoopt)

A "simple" object (TorusKnot) - this is built into THREE, so the code here is simple, but the object itself has non-simple appearance

Constructor

new GrTorusKnot(paramsopt, paramInfoopt)

Parameters:
Name Type Attributes Description
params Object <optional>
Properties
Name Type Attributes Description
color string | number <optional>
material THREE.Material <optional>
x number <optional>
y number <optional>
z number <optional>
size number <optional>
paramInfo Array.<(string|Array)> <optional>

parameters for the GrObject (for sliders)

Source: