Repository navigation
Simulator: sharp from the first frame on a capable machine; the demo watches CodeBot's front - #125
Merged
Merged
Conversation
…s snapped in, demo.py is not saved over and over - The `orbit` event is the camera turned 45 degrees in all, by drag or arrow key, not the first touch of a drag. - A guide's step checks, in blocks, only the blocks snapped into the program (hanging from its start, a function or an event): the LED block met the step while still being dragged from the palette, or dropped loose. - demo/demo.py is replaced without asking when it holds only what the demo left there; changed by the student since, they are asked as before. Other missions' files are unchanged: always theirs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e demo asks, a folder's name in its key; turning counts from each step Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e on a capable machine, and the demo watches CodeBot's front
- Auto realism starts, the first time, from the graphics chip WebGL names
(Low in software, Medium for a phone's or Chromebook's chip or one it does
not know, High for a recent laptop's, Ultra for a graphics card), and does
not count its first three seconds (the room loading, shaders compiling),
which could leave it at Low for good. A level kept by the older Auto is
not trusted.
- A mission's `sim` is read at last, as a guided mission begins: its room,
course and now camera, `{ "mode": "chase", "turn": 150 }`, degrees round
from behind the robot. The demo starts in chase, looking obliquely at
CodeBot's front, and follows it as it drives.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Visit the preview URL for this PR (updated for commit c4a23fd): https://firialabs-open-editor--pr125-demo-sim-h5mw0ane.web.app (expires Tue, 01 Dec 2026 16:11:30 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 81259a1fec315ca1af3747d225d9c7424890be3e |
# Conflicts: # docs/mission-packs.md # tests/learn-demo.mjs
# Conflicts: # public/learn/demo/DEMO.json # src/learn/learn.js # src/sim/sim-device.js
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.
From David's review of the demo mission (Nov 24), points 3 and 4.
guessLevelinsrc/sim/view/realism.js), applied before the renderer is made so antialiasing is right from the first frame; the first three seconds are not counted; a level kept by the older Auto is ignored once.sim(room,course, which nothing read) is now applied as a guided mission begins, with a newcamera:{ "mode": "chase", "turn": 150 }. The demo starts in chase, looking obliquely at CodeBot's front, and follows it as it drives. Back to start keeps that view; choosing another camera from the menu does not.Worth knowing: at Low (now where a software renderer starts), a click on a small part can name its neighbour; this was so on main at Low too.
sim-uipins Medium as before (OCB_REALISMpicks another level).Tests:
sim(realism, the chip guess),sim-ui,sim-browser,learn-demo,learn-guided,learn-packpass locally.🤖 Generated with Claude Code