gl-scatter2d-sdf
Fancy and slow scatter plots
Last updated 3 years ago by dfcreative .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gl-scatter2d-sdf 
SYNC missed versions from official npm registry.

gl-scatter2d-sdf

This code is similar to gl-scatter2d-fancy, but utilizes SDF technique to render symbols.

const createPlot = require('gl-plot2d')
const createScatter = require('gl-scatter2d-fancy')

let plot = createPlot({gl, ...})

let scatter = createScatter(plot, {
	positions:    [.5,.5, .6,.7, ...],
	sizes:        [2, 3, ...],
	colors:       [0,0,0,1, .5,.5,1,1, ...],
	glyphs:       ['x', 'y', ...],
	borderWidths: [.5, 1, ...],
	borderColors: [1,0,0,.5, 0,0,1,.5, ...]
})

plot.draw()

License

(c) 2016 Dima Yv. MIT License

Current Tags

  • 1.3.11                                ...           latest (3 years ago)

14 Versions

  • 1.3.11                                ...           3 years ago
  • 1.3.10                                ...           3 years ago
  • 1.3.9                                ...           4 years ago
  • 1.3.8                                ...           4 years ago
  • 1.3.7                                ...           4 years ago
  • 1.3.6                                ...           4 years ago
  • 1.3.5                                ...           4 years ago
  • 1.3.4                                ...           4 years ago
  • 1.3.3                                ...           4 years ago
  • 1.3.2                                ...           4 years ago
  • 1.3.1                                ...           4 years ago
  • 1.3.0                                ...           4 years ago
  • 1.2.2                                ...           4 years ago
  • 1.2.1                                ...           4 years ago
Downloads
Today 0
This Week 0
This Month 4
Last Day 0
Last Week 1
Last Month 4
Dependencies (10)
Dev Dependencies (7)

Copyright 2014 - 2016 © taobao.org |