Skip to content

Add sinvel dashboard cell - #24

Merged
sofiabobadilla merged 6 commits into
ASSERT-KTH:masterfrom
Val0007:sing-cell
Nov 9, 2026
Merged

sofiabobadilla merged 6 commits into
ASSERT-KTH:masterfrom
Val0007:sing-cell

Conversation

@Val0007

@Val0007 Val0007 commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Adds my tile to the team dashboard: a colliding-balls simulation (speed ramps up linearly, collisions spawn balls, ends at 100 with a message, then loops).

  • dashboard/cells/sinvel/prompt.md and index.html
  • dashboard/cells/manifest.json: new sinvel member with cell: true

Note: this branch is stacked on #20 (people entry, photo, SSH key), so it also shows that commit until #20 is merged.

sofiabobadilla and others added 2 commits November 9, 2026 13:14
# Conflicts:
#	dashboard/cells/manifest.json
The dashboard hides the grid during kiosk scenes, and an iframe can
also load before it has a size. Stepping at 0x0 scaled every ball's
speed to 0, which never grows back, so the run stopped for good. Now
frames are skipped while the canvas has no size, and the first run
starts on the first frame with a real size.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sofiabobadilla

Copy link
Copy Markdown
Collaborator

I pushed a few fixes to this branch so it can be merged now that #20 and #26 (Piyusha) are in:

  • Merged master (267b21e). This resolves the manifest.json conflict with Piyusha's entry by keeping both (Piyusha, then you). The PR diff now only shows the dashboard entry and the cell.
  • Role "RA" → "Research Assistant", the same as Piyusha. The dashboard shows the role text as written, in uppercase.
  • Freeze fix (d7dfcdd). If the canvas was 0×0 when the cell stepped (the kiosk hides the grid during the splash, people and topics scenes, and an iframe can load before it has a size), step() scaled every ball's speed to 0. A speed of 0 never grows back, so the run stopped for good. Now frame() skips frames while the canvas has no size, and the first run starts on the first frame with a real size. I tested it: the cell starts after loading at 0×0, keeps its speed through hide and show, reaches 100, shows the message and loops.

🤖 Generated with Claude Code

@sofiabobadilla
sofiabobadilla merged commit f4f5d66 into ASSERT-KTH:master Nov 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants