Commit graph

70 commits

Author SHA1 Message Date
1660b06064 fix two timers bugs 2025-11-02 13:25:21 +01:00
73c52c1867 finished traffic light example + use WebP format for images 2025-10-31 15:19:32 +01:00
d893476d1b better looking connection editor 2025-10-30 17:22:23 +01:00
8ac5a730cc editable connections sc <-> plant 2025-10-30 17:14:57 +01:00
e27d3c4c88 digital watch plant is now also a statechart 2025-10-28 21:52:30 +01:00
3e5dca437b plant has its own timed/reactive behavior - typically another statechart 2025-10-28 14:47:42 +01:00
b50f52496a coupled simulation + fix nested scopes 2025-10-27 19:59:06 +01:00
7b6ce420c0 don't render plant when plant state is undefined (prevent crash) 2025-10-27 11:40:27 +01:00
8951380f9b disable plant-selection on runtime (currrently not supported) 2025-10-27 11:12:18 +01:00
a81fe1e884 fix nested environment scopes + highlight runtime errors in editor 2025-10-27 10:37:42 +01:00
25fbb26fd7 cleanup sounds that are done playing 2025-10-26 12:54:02 +01:00
99180e63ce move some more stuff around 2025-10-25 23:46:35 +02:00
400efff3a1 fix broken imports 2025-10-25 23:31:36 +02:00
30fa1aaca1 move some files around to confuse everyone 2025-10-25 23:30:08 +02:00
710f7be68c nice feature: the microwave's sounds playback speed corresponds to the simulation speed, hahahaha 2025-10-25 22:57:15 +02:00
f3a9656891 important feature: use Web Audio API to get microwave sounds just right. 2025-10-25 19:27:39 +02:00
43e3b2117c fix broken pseudo-states (they work more like regular transitions now) 2025-10-25 15:51:17 +02:00
3e192f8e26 remove dependency on MUI 2025-10-24 11:09:21 +02:00
74f4c3bead don't render EditorState before having attempted to recover state from URL hash 2025-10-24 09:01:17 +02:00
41b2de7529 some refactoring and performance optimization 2025-10-24 01:12:50 +02:00
4f9a546fd1 move the parsing from VisualEditor to App component 2025-10-23 23:13:09 +02:00
65b6a343d1 memoize parsed text labels 2025-10-23 22:29:45 +02:00
529ad1d4bd wrap some more callbacks in useCallback 2025-10-23 22:10:18 +02:00
0fc3775a11 first of many performance improvements: no unnecessary TextSVG re-renders - more to follow 2025-10-23 21:22:28 +02:00
af60e811fc CSS: need less shadow now that execution trace has its own 'summary' 2025-10-23 19:58:06 +02:00
ab988898c0 performance and usability improvements 2025-10-23 19:16:46 +02:00
694380aa18 shortcuts for raising input events 2025-10-22 11:48:45 +02:00
6bbb230636 implement zoom 2025-10-22 09:39:50 +02:00
523e00d5dc fix some things 2025-10-21 23:30:27 +02:00
6202934ac4 digital watch works 2025-10-21 22:59:17 +02:00
dfbcca5c14 user can select 'plant' from dropdown menu 2025-10-21 17:25:04 +02:00
97d42c1cef show internal events in side panel: 2025-10-21 14:37:55 +02:00
7045513c0d don't use <hr> for horizontal lines between elements + better looking shadows 2025-10-21 11:33:08 +02:00
60a7d12857 errors in bottom panel are collapsible 2025-10-21 10:51:17 +02:00
297905a4af move 'selection' part of state into same object as rest of editor state 2025-10-21 10:21:26 +02:00
1f9379df7f better UI 2025-10-20 16:29:48 +02:00
44fb8726ca ... 2025-10-19 23:57:45 +02:00
8144a3ec78 better adaptive layout 2025-10-19 23:28:18 +02:00
c2dd27afa5 better dialogs 2025-10-19 21:30:45 +02:00
ff32e6d000 text edit dialog shows parser errors 2025-10-19 20:54:56 +02:00
88dee7e3b9 custom dialog for editing text labels (no more window.prompt) 2025-10-19 20:30:56 +02:00
20f28d8382 add about dialog 2025-10-19 20:03:06 +02:00
20a36825d4 better looks 2025-10-19 19:21:17 +02:00
09eb4d6982 enhance the greeter 2025-10-19 17:02:13 +02:00
5e60b3dc95 toolbar button to undo last step 2025-10-19 15:11:51 +02:00
59d5e9913a more keyboard shortcuts 2025-10-19 14:15:17 +02:00
373e26dc1b fix: sometimes entering default state would not highlight initial state marker 2025-10-19 12:30:55 +02:00
a10bf9acc8 highlight fired transitions 2025-10-19 11:27:32 +02:00
b8bc977a8e better looking simulation 2025-10-18 22:43:52 +02:00
f80086727c better looking active states + always scroll to latest event 2025-10-18 16:39:57 +02:00