StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/gl-cone3d
Angelos Chatzimparmpas e069030893 fix the frontend 3 years ago
..
build fix the frontend 3 years ago
example fix the frontend 3 years ago
lib fix the frontend 3 years ago
LICENSE fix the frontend 3 years ago
README.md fix the frontend 3 years ago
cone.js fix the frontend 3 years ago
create_mesh.js fix the frontend 3 years ago
index.html fix the frontend 3 years ago
minimal.html fix the frontend 3 years ago
package.json fix the frontend 3 years ago
single.html fix the frontend 3 years ago
sparse.html fix the frontend 3 years ago

README.md

gl-cone3d

Visualization module for vector fields.

Example

var createScene    = require('gl-plot3d')
var createConePlot = require('gl-cone3d')
var createMesh     = createConePlot.createConeMesh

var wind           = require('dataset-wind')

var scene = createScene()

var bounds = [];

var conePlot = createConePlot({
    positions: wind.positions,
    vectors: wind.vectors,
    coneSize: 4,
    colormap: 'portland'
}, bounds)

var mesh = createMesh(gl, conePlot)

scene.add(mesh)

Try out the example in your browser

Install

npm i gl-cone3d

Basic interface

Constructor

var conePlot = require('gl-cone3d')(params, bounds)

Creates a cone plot of a vector field.

  • params is an object that has the following properties:

    • positions (Required) An array of positions determining the location of the cones, encoded as arrays
    • vectors (Required) An array of vectors for the vector field, encoded as arrays
    • coneSize Size of the cones, scaled so that the reference cone size for the maximum vector magnitude is 1
    • absoluteConeSize Size of the cones, scaled so that the reference cone size for vector magnitude 1 is one grid unit.
    • coneOffset The position of the cone with regard to the cone location. Ranges from 0 to 1 where 0 puts the center of the cone base at the cone location, and 1 puts the tip at the cone location.
    • colormap Colormap for the cone plot.

Returns A cone plot object that can be passed to gl-mesh3d.

Credits

(c) 2013-2017 Mikola Lysenko, Ilmari Heikkinen. MIT License