Loops can run on selected weekdays
A single setup flow determines recurrence, weekdays and time in sequence, then confirms the result in natural language. Focus on maintaining and combining form states.
View HTML source
<!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Loops Can Run by Day of the Week · sequence</title><style>html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#090a0c}canvas{display:block;width:100%;height:100%;object-fit:contain}</style><body data-mode="sequence"><canvas width="1000" height="600"></canvas><script src="data.js"></script><script src="common.js"></script><script src="scene.js"></script><script src="bridge.js"></script></body></html>Motion and composition
Local motion · Composition rules
Select a recurrence to reveal the corresponding date options
View HTML source
<!doctype html><html lang="zh-CN"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Loops Can Run by Day of the Week · sequence</title><style>html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#090a0c}canvas{display:block;width:100%;height:100%;object-fit:contain}</style><body data-mode="clip" data-start="2" data-end="12"><canvas width="1000" height="600"></canvas><script src="data.js"></script><script src="common.js"></script><script src="scene.js"></script><script src="bridge.js"></script></body></html>Open the recurrence menu and select weekly recurrence before displaying the weekday multi-select. Selected weekdays remain highlighted, and adding a selection does not clear existing ones; open the time menu after the dates are set.
The saved overview expresses the rule as a sentence
After saving, collapse the settings panel and summarize the recurrence, weekdays and time in one natural-language sentence. Use the same values as the controls, and keep the task name inside the parent container to show which task these settings belong to.
| Controls | Information the summary must carry forward |
|---|---|
| Recurrence | How many weeks between runs |
| Selected weekdays | Which working days to use |
| Time | Specific time |
| Enabled state | Whether the rule is active |
Emphasize selections alone in the dark form
Build the interface from dark gray panels, light sans-serif text and cool purple selection states. Space weekday buttons evenly and place menus near their triggers; make the task title slightly heavier than field labels, and do not reuse the selection color in background decoration.
Preserve setting dependencies when changing tasks
Adapt this to reports, reminders or routine checks. Update the task name, frequency, dates and final summary together; if changing to daily or monthly recurrence, change the date controls accordingly.
Sections and rhythm
Click a section to seek to it in the choreography example above.





Visual references · Discrete still frames
Creating other themes
- Adapt to other scheduled tasks; retain the sequence of recurrence → dates → time → summary.
Production constraints
Task container / Recurrence menu / Weekday buttons / Time menu / Enabled state
- Select weekly recurrence before showing the weekday multi-select, then set the time; after completion, summarize the rule in natural language in the overview.
- Selected weekdays must remain highlighted, rather than acting as decorative dots.