Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Constructs a scatter plot with the given parameters. `options` is an object wit
* `gl` is a WebGL context
* `position` (Required) an array of length 3 arrays encoding the position of the points in the scatter plot.
* `color` A length 3 array encoding the color of the points in the scatter plot. To set colors per point, pass an array instead. Default is `[0,0,0]`
* `glyph` The glyph of each point. This is a UTF8 string representing some shape. Per point glyphs can be specified by passing an array. The default glyph is a circle, `"●"`. For more glyph ideas, check out the [unicode character set](http://unicode-table.com/en/). Some other fun suggestions: `"☢", "☯", "❤", "▲", "⚑"`.
* `glyph` The glyph of each point. This is a UTF8 string representing some shape. Per point glyphs can be specified by passing an array. The default glyph is a circle, `"●"`. For more glyph ideas, check out the [unicode character set](https://symbl.cc/en/). Some other fun suggestions: `"☢", "☯", "❤", "▲", "⚑"`.
* `size` The size of each point, or specified per-point using an array. In orthographic, this is in screen coordinates, or in perspective this is in world coordinates. Default is `0.1`
* `orthographic` A flag, which if set to `true` causes the points to be drawn without perspective scaling.
* `lineWidth` the width of the outline (set to 0 for no outline) Default is `0`
Expand Down Expand Up @@ -88,4 +88,4 @@ An array of projection values for each point
The width of the outline of each point

# Credits
(c) 2014-2015 Mikola Lysenko. MIT License. Supported by [plot.ly](https://plot.ly/)
(c) 2014-2015 Mikola Lysenko. MIT License. Supported by [plot.ly](https://plot.ly/)