-
-
Couldn't load subscription status.
- Fork 1.9k
Correct streamtube positions and colouring #4271
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
Conversation
package.json
Outdated
| "gl-select-box": "^1.0.3", | ||
| "gl-spikes2d": "^1.0.2", | ||
| "gl-streamtube3d": "^1.3.1", | ||
| "gl-streamtube3d": "git://github.com/gl-vis/gl-streamtube3d.git#82a0dd7a8dc601f48ed4afdc5a3e40394b758deb", |
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.
|
To clarify, order var x = [];
var y = [];
var z = [];
for(var k = 0; k < Nz; k++) // last changing index
for(var j = 0; j < Ny; j++) // next changing index
for(var i = 0; i < Nx; i++) // first changing index
x.push(i); y.push(j); z.push(k)thanks @archmoj for the tip! |
…ng sampleMeshgrid bugs
- reduced duplicated code between gl modules - bump gl-cone3d 1.5.0 - bump gl-streamtube3d 1.4.0
…e test for random input
|
Superb fix. Thanks very much @archmoj !! 💃 💃 💃 - oh let's start merging things for 1.51.0 🚀 |
Fixes #4206 and fixes #4275
The
gl-streamtube3dmodule used to make assumptions about the order of input data which could be false in cases where the data cube was not filled in orders thanxyz(i.e firstx| nexty| lastz).This PR addresses this issue by considering the order of data in
calcstep and using this info insidegl-streamtube3dmodule.Before fixing 4206
After fixing 4206
Before fixing 4275
After fixing 4275
In addition
gl-cone3dmodule is patched in this PR.Please refer to the following
gl-visPRs for more details on the changes within dependecies:gl-vis/gl-cone3d#16
gl-vis/gl-cone3d#17
gl-vis/gl-cone3d#18
gl-vis/gl-streamtube3d#10
gl-vis/gl-streamtube3d#11
@plotly/plotly_js