Conversation
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.
Motivation
not found问题,使/demo/game-of-life/non-euclidean/index.html能正确跳转到实际页面。esm.sh/unpkg)的网络环境下仍能正常运行。Description
demo/game-of-life/non-euclidean/index.html,通过meta refresh+window.location.replace双保险跳转到/public/demo/game-of-life/non-euclidean/index.html。public/demo/game-of-life/non-euclidean/sphere-life.js从依赖 Three.js/OrbitControls 的实现替换为纯 Canvas 2D 实现,保留按经纬划分网格、球面邻接关系与 B3/S23 规则等核心算法。resize以及对缺失 Canvas 的早期报错保护。Testing
node --check public/demo/game-of-life/non-euclidean/sphere-life.js,语法检查通过。curl验证两个路径返回 200:/public/game-of-life/non-euclidean/index.html与/demo/game-of-life/non-euclidean/index.html。http://127.0.0.1:8000/demo/game-of-life/non-euclidean/index.html并截图,页面主体渲染与交互正常,控制台仅记录与页面主体无关的 404 资源提示;截图已生成作为验证工件。Codex Task