feat: One Piece themed visual effects — Three.js particle ocean + user toggle#27
Draft
feat: One Piece themed visual effects — Three.js particle ocean + user toggle#27
Conversation
Agent-Logs-Url: https://github.com/Yunaido/Tournament/sessions/5b773e69-7258-4f45-906d-dd26c4dd8bf6 Co-authored-by: Yunaido <33319800+Yunaido@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add more One Piece atmosphere with backgrounds and visual effects
feat: One Piece themed visual effects — Three.js particle ocean + user toggle
Mar 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an optional animated background layer to reinforce the One Piece theme: a Three.js particle system simulating floating ocean debris (bubbles, sea foam, treasure sparks) over a deep-ocean gradient, with a persistent user toggle.
Changes
static/js/ocean-fx.js(new)THREE.Pointsparticles with a One Piece palette (ocean blues, cyan, gold, Luffy-red, white)localStorage(op_fx_enabled), enabled by defaultTHREEglobal is unavailable (CDN blocked, etc.)static/css/custom.cssbodygets a dark ocean gradient (#080e1a → #0b1828 → #091422)#op-fx-canvas: fixed, full-screen,z-index: -1,pointer-events: none#op-fx-toggle: frosted-glass circular button (bottom-left),backdrop-filter: blur(6px), hover scale animationtemplates/base.html<canvas id="op-fx-canvas" aria-hidden="true">injected at top of<body>r0.128loaded fromcdn.jsdelivr.net(already CSP-whitelisted);ocean-fx.jsloaded at end of bodye2e/tests/visual-effects.spec.ts(new)localStoragepersistence, cross-page persistenceScreenshot
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
cdn.jsdelivr.net/home/REDACTED/.cache/ms-playwright/chromium_headless_shell-1208/chrome-headless-shell-linux64/chrome-headless-shell /home/REDACTED/.cache/ms-playwright/chromium_headless_shell-1208/chrome-headless-shell-linux64/chrome-headless-shell --disable-field-trial-config --disable-REDACTED-networking --disable-REDACTED-timer-throttling --disable-REDACTEDing-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-REDACTED-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=AvoidUnnecessaryBeforeUnloadCheckSync,BoundaryEventDispatchTracksNodeRemoval,DestroyProfileOnBrowserClose,DialMediaRouteProvider,GlobalMediaControls,HttpsUpgrades,LensOverlay,MediaRouter,PaintHolding,ThirdPartyStoragePartitioning,Transl(dns block)unpkg.com/home/REDACTED/.cache/ms-playwright/chromium_headless_shell-1208/chrome-headless-shell-linux64/chrome-headless-shell /home/REDACTED/.cache/ms-playwright/chromium_headless_shell-1208/chrome-headless-shell-linux64/chrome-headless-shell --disable-field-trial-config --disable-REDACTED-networking --disable-REDACTED-timer-throttling --disable-REDACTEDing-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-REDACTED-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=AvoidUnnecessaryBeforeUnloadCheckSync,BoundaryEventDispatchTracksNodeRemoval,DestroyProfileOnBrowserClose,DialMediaRouteProvider,GlobalMediaControls,HttpsUpgrades,LensOverlay,MediaRouter,PaintHolding,ThirdPartyStoragePartitioning,Transl(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.