René's URL Explorer Experiment


Title: 3D transparency proposal · Issue #8112 · plotly/plotly.js · GitHub

Open Graph Title: 3D transparency proposal · Issue #8112 · plotly/plotly.js

X Title: 3D transparency proposal · Issue #8112 · plotly/plotly.js

Description: 3D transparency has always been tricky, and has never worked very well in plotly.js. - see eg #1267 #3243 #4918 for just a few examples. Several years ago I played with an approach that seemed promising - treating opacity as a semi-rando...

Open Graph Description: 3D transparency has always been tricky, and has never worked very well in plotly.js. - see eg #1267 #3243 #4918 for just a few examples. Several years ago I played with an approach that seemed prom...

X Description: 3D transparency has always been tricky, and has never worked very well in plotly.js. - see eg #1267 #3243 #4918 for just a few examples. Several years ago I played with an approach that seemed prom...

Opengraph URL: https://github.com/plotly/plotly.js/issues/8112

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"3D transparency proposal","articleBody":"3D transparency has always been tricky, and has never worked very well in plotly.js. - see eg https://github.com/plotly/plotly.js/issues/1267 https://github.com/plotly/plotly.js/issues/3243 https://github.com/plotly/plotly.js/issues/4918 for just a few examples. Several years ago I played with an approach that seemed promising - treating opacity as a semi-random probability of drawing or not drawing a pixel, then oversampling / averaging to smooth the result. I never got it working well enough to include in the library, but in another project (not using plotly.js) a colleague of mine has refined the concept into what I think is a really beautiful, performant, and useful result so I'm sharing here in case someone wants to bring it into plotly.js\n\n- Each transparent surface gets a repeatable, screen-space random blue noise function that yields values between 0 and 1. This means if you pass through multiple layers of the same surface we will not make it as opaque as it really should be (because they all use the same screen-space function), but because of the next point, the result still looks physically reasonable, and arguably more useful than the full opacity of a complete physical model. If you don't use screen space for the noise function (use full 3D space for example) then there's a distracting amount of motion to the noise as you move the viewport.\n- The transparency at each pixel becomes T^(1/cos(theta)) where T is the given transparency and theta is the angle at that pixel between the surface normal and the camera. This makes shallow-incidence areas more opaque, modeling a physical system where you're passing through a greater thickness of the material depending on this angle.\n- Only pixels where the final opacity is greater than the blue noise function (and where we haven't already drawn a surface closer to the camera) are drawn. All the same lighting effects used for opaque surfaces can still be used.\n- During mouse interactions this is what we display, so it looks grainy but you still see the features and on average they are correct. This is one area I still think the algorithm we're using could be improved, it often looks kind of like those old \"Magic Eye\" books whereas I think with some experimentation we could get it a bit flatter, but it's entirely usable in this form.\n- Once the mouse stops moving we average many frames (in the video below we use 64 frames) of this with different random seeds on the blue noise functions, to smooth away the graininess. In the averaging process it's important to distinguish between sRGB and linear color.\n\nhttps://github.com/user-attachments/assets/29266885-2745-4077-a7db-33d24d96daee","author":{"url":"https://github.com/alexcjohnson","@type":"Person","name":"alexcjohnson"},"datePublished":"2026-10-09T19:14:39Z","url":"https://github.com/plotly/plotly.js/issues/8112"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:89eec094-18c8-4f3e-04c1-f4d2788cf1e3
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9358:DB09F:2874D02:339FF2D:6B01A7C6
html-safe-nonce7077f951b15c4e4e283ef7530f53daa42ad63c14ea5acfeda6daa4a482b37e73
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzU4OkRCMDlGOjI4NzREMDI6MzM5RkYyRDo2QjAxQTdDNiIsInZpc2l0b3JfaWQiOiI0OTQ2NTg0NzAzNTU4ODU0NTk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca16e0a77c770422574252d77b7c9d3d774ae5791caa0a3756d4dc07a77c3d080
hovercard-subject-tagissue:5783372623
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/plotly/plotly.js/8112/issue_layout
twitter:imagehttps://opengraph.githubassets.com/24c7e54e0386f2beae137e62112e2975118ad3aedf5bf4c732c0ce81a25808f4/plotly/plotly.js/issues/8112
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/24c7e54e0386f2beae137e62112e2975118ad3aedf5bf4c732c0ce81a25808f4/plotly/plotly.js/issues/8112
og:image:alt3D transparency has always been tricky, and has never worked very well in plotly.js. - see eg #1267 #3243 #4918 for just a few examples. Several years ago I played with an approach that seemed prom...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexcjohnson
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id45646037
octolytics-dimension-repository_nwoplotly/plotly.js
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id45646037
octolytics-dimension-repository_network_root_nwoplotly/plotly.js
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/plotly/plotly.js/issues/8112#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F8112
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F8112
Sign uphttps://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=plotly%2Fplotly.js
Reloadhttps://github.com/plotly/plotly.js/issues/8112
Reloadhttps://github.com/plotly/plotly.js/issues/8112
Reloadhttps://github.com/plotly/plotly.js/issues/8112
plotlyhttps://github.com/plotly
plotly.jshttps://github.com/plotly/plotly.js
Codehttps://github.com/plotly/plotly.js
Issues726 (726)https://github.com/plotly/plotly.js/issues
Pull requests84 (84)https://github.com/plotly/plotly.js/pulls
Actionshttps://github.com/plotly/plotly.js/actions
Security and qualityhttps://github.com/plotly/plotly.js/security
Insightshttps://github.com/plotly/plotly.js/insights
https://github.com/plotly/plotly.js
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/8112
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/8112
3D transparency proposalhttps://github.com/plotly/plotly.js/issues/8112#top
P3backloghttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22P3%22
enhancementhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22enhancement%22
featuresomething newhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22feature%22
plotly-internalhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22plotly-internal%22
size: 5https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22size%3A%205%22
https://github.com/alexcjohnson
alexcjohnsonhttps://github.com/alexcjohnson
on Oct 9, 2026https://github.com/plotly/plotly.js/issues/8112#issue-5783372623
#1267https://github.com/plotly/plotly.js/issues/1267
#3243https://github.com/plotly/plotly.js/issues/3243
#4918https://github.com/plotly/plotly.js/issues/4918
alexcjohnsonhttps://github.com/alexcjohnson
featuresomething newhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22feature%22
on Oct 9, 2026https://github.com/plotly/plotly.js/issues/8112#event-32902602818
camdecosterhttps://github.com/camdecoster
plotly-internalhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22plotly-internal%22
P3backloghttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22P3%22
size: 5https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22size%3A%205%22
on Oct 9, 2026https://github.com/plotly/plotly.js/issues/8112#event-32902649688
https://github.com/camdecoster
camdecosterhttps://github.com/camdecoster
on Oct 13, 2026https://github.com/plotly/plotly.js/issues/8112#issuecomment-6153146615
robertclaushttps://github.com/robertclaus
enhancementhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22enhancement%22
on Oct 15, 2026https://github.com/plotly/plotly.js/issues/8112#event-33369374499
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.js/issues/8112
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/8112
P3backloghttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22P3%22
enhancementhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22enhancement%22
featuresomething newhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22feature%22
plotly-internalhttps://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22plotly-internal%22
size: 5https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3A%22size%3A%205%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.