The page provides a quick reference to OpenJSCAD and CSG library functions.
OpenJSCADユーザー_ガイド
''Note: Default values and notes are highlighted in bold fonts.''
''Note: Messages are displayed in the Javascript console in browsers.''
''Note: If not provided, the default resolution is used when creating rounded shapes.''
  * CSG.defaultResolution2D: 32
  * CSG.defaultResolution3D: 12
Shape transformations always return a new shape, leaving the original shape unchanged. The original shape can be changed by reassigning the original, like this.
var a = cube();
a = a.rotateX(45);
Shape transformations can be chained together. For example:''
var 3Dshape = CSG.cube().rotate(45).translate([20,0,10]).setColor(1,0.5,0.3);
Shape operations always return a new shape, leaving the original shape unchanged. The original shape can be changed by reassigning the original, like this.
var a = cube();
a = a.intersect(sphere());
These functions ease the transition of designs from OpenSCAD (Lisp-like) to OpenJSCAD (JavaScript and objects).
''Note: The text() function as known in OpenSCAD is not supported.''
A design can have interactive parameters by declaring a special function; getParameterDefinitions().
This function must return an array of parameter definitions, as show below.
function getParameterDefinitions() {
    return [
        { name: 'length', type: 'int', initial: 150, caption: 'Length?' }, 
        { name: 'width', type: 'int', initial: 100, caption: 'Width?' },
    ];
}
The parameters are evaluated and values are passed into the main function. Be sure to declare the main function properly.
function main(params) {
  var l = params.length;
  var w = params.width;
...
The parameters are defined as input fields on a single HTML5 form, i.e. the list of parameters. For more information on HTML5 input fields, see some examples at [http://www.w3schools.com/html/html_form_input_types.asp W3 Schools].
Note: Browsers are NOT the same and will treat unsupported parameter types as TEXT.
''Note: The parameters accept additional restrictions and assistance. These include 'initial', 'max', 'maxLength', 'min', 'pattern', 'placeholder', 'size', and 'step'.''