-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Adding pointcloud #850
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
Adding pointcloud #850
Conversation
db35191 to
98f90ad
Compare
lib/index-gl2d.js
Outdated
|
|
||
| Plotly.register([ | ||
| require('./scattergl'), | ||
| require('./pointcloud2d'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make this pointcloud !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, now done
98f90ad to
0deaccc
Compare
553975d to
b45d3d7
Compare
1860058 to
2f1005f
Compare
| module.exports = { | ||
| x: scatterglAttrs.x, | ||
| y: scatterglAttrs.y, | ||
| xy: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a dream come true
|
Apart from the above comment and a few naming / styling issues this PR is looking amazing. @monfera Thanks for all your hard work! |
|
@etpinard thanks for all your comments, they look easy, i.e. perfect for a morning ramp-up. Special thanks for catching this interaction issue too! |
|
@etpinard I just wanted to mention that I had some unpushed commits in |
c3dcf7d to
138a6e0
Compare
138a6e0 to
b1da4c0
Compare
b1da4c0 to
16f7fd5
Compare
|
@etpinard for the record the solution to the plot disappearance issue on +/-/reset you found is here in |
| if(xy) { | ||
|
|
||
| positions = xy; | ||
| len = xy.length >>> 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bitwise ops are cool 😎 but can you add a short comment above describing what this does (for folks unfamiliar with them).
|
|
||
| positions = xy; | ||
|
|
||
| // dividing xy.length by 2 and truncating to integer if xy.length was not even |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you very much!
954845f to
8105955
Compare
|
Amazing work 💃 |


This PR contains the plotly.js part of the new
pointcloud2dtrace type.Work left involves
gl-pointcloud2d