Skip to content

电梯调度算法可视化模拟器 — Elevator scheduling visualization simulator - #1

Merged
Cygra merged 12 commits into
masterfrom
copilot/create-elevator-simulation-visualizer
Apr 24, 2026
Merged

电梯调度算法可视化模拟器 — Elevator scheduling visualization simulator#1
Cygra merged 12 commits into
masterfrom
copilot/create-elevator-simulation-visualizer

Conversation

Copilot AI commented Apr 2, 2026

Copy link
Copy Markdown
Contributor
  • Change auto-generation logic: ~80% of passengers travel between floor 1 and a random upper floor (50/50 up/down); ~20% travel between two random non-lobby floors
  • Update morning preset: passengers go from floor 1 (lobby) to upper floors
  • Update evening preset: passengers go from upper floors down to floor 1 (lobby)
  • Keep lunch and crowd presets as-is (they represent inter-floor traffic)
  • Update i18n descriptions to match new behavior
Original prompt

发挥你的想象,做一个功能尽可能多、样式尽可能专业且酷炫、性能良好的电梯调度算法可视化模拟器

- Building visualization with up to 4 color-coded elevator shafts
- Smooth CSS elevator car animations with door open/close effects
- 4 scheduling algorithms: SCAN, LOOK, FCFS, SSTF
- Dedicated pax-column: colored waiting passenger dots per floor
- Load-aware dispatch using committed-passenger count (_elevatorLoad)
  so passengers are distributed across all available elevators
- Real-time stats: completed trips, avg wait/travel, throughput, floor moves
- Performance trend chart (canvas) and event log
- Speed control (1–8×), auto-generate mode, configurable floors/elevators
- Scene presets: morning rush, evening rush, full random
- Named constants throughout; safe elevColor helper with modulo
- Professional dark theme with neon glow, glassmorphism, window decorations

Agent-Logs-Url: https://github.com/Cygra/elevator/sessions/a5ca712a-d38a-4517-aeb3-4088ed462354

Co-authored-by: Cygra <34186314+Cygra@users.noreply.github.com>
Copilot AI changed the title [WIP] Add elevator scheduling algorithm visualization simulator 电梯调度算法可视化模拟器 — Elevator scheduling visualization simulator Apr 2, 2026
Copilot AI requested a review from Cygra April 2, 2026 12:12
Copilot finished work on behalf of Cygra April 2, 2026 12:12
Copilot stopped work on behalf of Cygra due to an error April 2, 2026 12:23
Copilot AI and others added 3 commits April 2, 2026 13:21
…e/odd-even modes, A/B comparison, new stats, SEO, README

Agent-Logs-Url: https://github.com/Cygra/elevator/sessions/107e585c-f043-40ec-a8ee-411bfa22c18c

Co-authored-by: Cygra <34186314+Cygra@users.noreply.github.com>
Copilot AI and others added 2 commits April 2, 2026 13:39
…, split README into bilingual files

Agent-Logs-Url: https://github.com/Cygra/elevator/sessions/4d2d961d-eccd-420d-b4a5-3e89dd91d1c1

Co-authored-by: Cygra <34186314+Cygra@users.noreply.github.com>
…waiting split, preset render fix

Agent-Logs-Url: https://github.com/Cygra/elevator/sessions/c4e503f4-2a48-4fd9-914c-59f9ec4717f9

Co-authored-by: Cygra <34186314+Cygra@users.noreply.github.com>
Copilot finished work on behalf of Cygra April 3, 2026 03:25
@Cygra
Cygra marked this pull request as ready for review April 24, 2026 02:33
@Cygra
Cygra merged commit 838d2c1 into master Apr 24, 2026
3 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