Title: Revert `GeometricZoom` formula to original, set default to 1 · Issue #82 · PAIR-code/megaplot · GitHub
Open Graph Title: Revert `GeometricZoom` formula to original, set default to 1 · Issue #82 · PAIR-code/megaplot
X Title: Revert `GeometricZoom` formula to original, set default to 1 · Issue #82 · PAIR-code/megaplot
Description: Currently, the GeometricZoom attribute, like all Sprite attributes, defaults to zero. To make this work, the formula used in the shader is this: currentSizeWorld * exp(log(scale) * (1. - currentGeometricZoom)) Instead, the formula should...
Open Graph Description: Currently, the GeometricZoom attribute, like all Sprite attributes, defaults to zero. To make this work, the formula used in the shader is this: currentSizeWorld * exp(log(scale) * (1. - currentGeo...
X Description: Currently, the GeometricZoom attribute, like all Sprite attributes, defaults to zero. To make this work, the formula used in the shader is this: currentSizeWorld * exp(log(scale) * (1. - currentGeo...
Opengraph URL: https://github.com/PAIR-code/megaplot/issues/82
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Revert `GeometricZoom` formula to original, set default to 1","articleBody":"Currently, the `GeometricZoom` attribute, like all Sprite attributes, defaults to zero. To make this work, the formula used in the shader is this:\r\n\r\n```glsl\r\ncurrentSizeWorld * exp(log(scale) * (1. - currentGeometricZoom))\r\n```\r\n\r\nInstead, the formula should match [Benjamin Schmidt's original implementation](https://observablehq.com/@bmschmidt/zoom-strategies-for-huge-scatterplots-with-three-js):\r\n\r\n```glsl\r\ncurrentSizeWorld * exp(log(scale) * currentGeometricZoom)\r\n```\r\n\r\nTo do this, the `GeometricZoom` attribute needs to default to a value of 1, rather than 0. See #81 ","author":{"url":"https://github.com/jimbojw","@type":"Person","name":"jimbojw"},"datePublished":"2022-10-21T15:45:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/82/megaplot/issues/82"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8680f9db-6a7c-9181-b5a7-14c8cf7157b3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D4FA:54966:7C5AF0:B79089:6A4E1647 |
| html-safe-nonce | 684e8ec2fdba3e00bd9ef86e30247e96b47b81c815c80f9bcb556e8645cef26b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEZBOjU0OTY2OjdDNUFGMDpCNzkwODk6NkE0RTE2NDciLCJ2aXNpdG9yX2lkIjoiMjE5NDI2MDY4NDA2NTA4NDk5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 189e33a273b2f4943c2fedfe7856e3643c57c5ae9bde57979761ce593453e0c7 |
| hovercard-subject-tag | issue:1418534462 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PAIR-code/megaplot/82/issue_layout |
| twitter:image | https://opengraph.githubassets.com/08c9099c36578714d020bf367460716a20fd4e75f65d76ade98f97db1dbfab67/PAIR-code/megaplot/issues/82 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/08c9099c36578714d020bf367460716a20fd4e75f65d76ade98f97db1dbfab67/PAIR-code/megaplot/issues/82 |
| og:image:alt | Currently, the GeometricZoom attribute, like all Sprite attributes, defaults to zero. To make this work, the formula used in the shader is this: currentSizeWorld * exp(log(scale) * (1. - currentGeo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jimbojw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/PAIR-code/megaplot git https://github.com/PAIR-code/megaplot.git |
| octolytics-dimension-user_id | 29804435 |
| octolytics-dimension-user_login | PAIR-code |
| octolytics-dimension-repository_id | 451893434 |
| octolytics-dimension-repository_nwo | PAIR-code/megaplot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 451893434 |
| octolytics-dimension-repository_network_root_nwo | PAIR-code/megaplot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ea9187571e3edc5f2780f750631138669441ca50 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width