René's URL Explorer Experiment


Title: Fix resize drift bug, may depend on devicePixelRatio · Issue #62 · PAIR-code/megaplot · GitHub

Open Graph Title: Fix resize drift bug, may depend on devicePixelRatio · Issue #62 · PAIR-code/megaplot

X Title: Fix resize drift bug, may depend on devicePixelRatio · Issue #62 · PAIR-code/megaplot

Description: The Scene's resize() method allows the caller to recompute the offset and the underlying canvas element's dimensions after the canvas DOM size has been changed. If resize() is not called, then the canvas element's dimensions will often h...

Open Graph Description: The Scene's resize() method allows the caller to recompute the offset and the underlying canvas element's dimensions after the canvas DOM size has been changed. If resize() is not called, then the ...

X Description: The Scene's resize() method allows the caller to recompute the offset and the underlying canvas element's dimensions after the canvas DOM size has been changed. If resize() is not called, t...

Opengraph URL: https://github.com/PAIR-code/megaplot/issues/62

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fix resize drift bug, may depend on devicePixelRatio","articleBody":"The Scene's `resize()` method allows the caller to recompute the `offset` and the underlying canvas element's dimensions after the canvas DOM size has been changed. If `resize()` is not called, then the canvas element's dimensions will often have a different aspect ratio from the DOM size and cause the rendered visualization to appear stretched or squished.\r\n\r\nThe `resize()` method takes an optional fixed canvas point. This point specifies the pixel location to keep fixed after the aspect ratio transformation. By default, the fixed canvas point used will be the center point of the canvas. Using `scene.offset` as the fixed point should have the effect of preserving the location of the world origin (0,0).\r\n\r\nThere is a bug where one or both of the `offset` components may be a pixel off after the `resize()`. If calls to `resize()` are repeated, this can cause the offset to creep in one direction or the other. This seems to occur more readily when the `devicePixelRatio` is 1.\r\n\r\nDevelop an example which consistently produces this behavior, then fix it.","author":{"url":"https://github.com/jimbojw","@type":"Person","name":"jimbojw"},"datePublished":"2022-09-28T16:57:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/62/megaplot/issues/62"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:cce33ac4-06ff-228e-0cda-e69eacc57df5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA48E:E9E68:344E49:456D14:6A4ED823
html-safe-nonce40ba5bacb95456225ca7d865f4fefbf9b0c9755de1f3d947d9f8c15c13f45e58
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDhFOkU5RTY4OjM0NEU0OTo0NTZEMTQ6NkE0RUQ4MjMiLCJ2aXNpdG9yX2lkIjoiODY1MTg0MjgzMjIwODY4MDk5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace678919293b73af5d0637e50dca3762d977f24b4aa43191d6eb65eaacbd1eb31
hovercard-subject-tagissue:1389680662
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PAIR-code/megaplot/62/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c141ca85f6c70bb4c58531e89d6f7bf91f7af5ab381d76ff0e66b0848c1ebca6/PAIR-code/megaplot/issues/62
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c141ca85f6c70bb4c58531e89d6f7bf91f7af5ab381d76ff0e66b0848c1ebca6/PAIR-code/megaplot/issues/62
og:image:altThe Scene's resize() method allows the caller to recompute the offset and the underlying canvas element's dimensions after the canvas DOM size has been changed. If resize() is not called, then the ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejimbojw
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-preview
go-importgithub.com/PAIR-code/megaplot git https://github.com/PAIR-code/megaplot.git
octolytics-dimension-user_id29804435
octolytics-dimension-user_loginPAIR-code
octolytics-dimension-repository_id451893434
octolytics-dimension-repository_nwoPAIR-code/megaplot
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id451893434
octolytics-dimension-repository_network_root_nwoPAIR-code/megaplot
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec37fe3e3f5f306900bd5b6bee97463f66c938b2c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PAIR-code/megaplot/issues/62#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPAIR-code%2Fmegaplot%2Fissues%2F62
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPAIR-code%2Fmegaplot%2Fissues%2F62
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PAIR-code%2Fmegaplot
Reloadhttps://github.com/PAIR-code/megaplot/issues/62
Reloadhttps://github.com/PAIR-code/megaplot/issues/62
Reloadhttps://github.com/PAIR-code/megaplot/issues/62
Please reload this pagehttps://github.com/PAIR-code/megaplot/issues/62
PAIR-code https://github.com/PAIR-code
megaplothttps://github.com/PAIR-code/megaplot
Notifications https://github.com/login?return_to=%2FPAIR-code%2Fmegaplot
Fork 3 https://github.com/login?return_to=%2FPAIR-code%2Fmegaplot
Star 21 https://github.com/login?return_to=%2FPAIR-code%2Fmegaplot
Code https://github.com/PAIR-code/megaplot
Issues 34 https://github.com/PAIR-code/megaplot/issues
Pull requests 24 https://github.com/PAIR-code/megaplot/pulls
Actions https://github.com/PAIR-code/megaplot/actions
Projects https://github.com/PAIR-code/megaplot/projects
Security and quality 0 https://github.com/PAIR-code/megaplot/security
Insights https://github.com/PAIR-code/megaplot/pulse
Code https://github.com/PAIR-code/megaplot
Issues https://github.com/PAIR-code/megaplot/issues
Pull requests https://github.com/PAIR-code/megaplot/pulls
Actions https://github.com/PAIR-code/megaplot/actions
Projects https://github.com/PAIR-code/megaplot/projects
Security and quality https://github.com/PAIR-code/megaplot/security
Insights https://github.com/PAIR-code/megaplot/pulse
Fix resize drift bug, may depend on devicePixelRatiohttps://github.com/PAIR-code/megaplot/issues/62#top
bugSomething isn't workinghttps://github.com/PAIR-code/megaplot/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/jimbojw
jimbojwhttps://github.com/jimbojw
on Sep 28, 2022https://github.com/PAIR-code/megaplot/issues/62#issue-1389680662
bugSomething isn't workinghttps://github.com/PAIR-code/megaplot/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.