Commit graph

85 commits

Author SHA1 Message Date
64aab1a6df grealy improved memoization 2025-11-14 20:45:43 +01:00
7994cd6eb0 cleanup the code a bit... 2025-11-14 19:05:02 +01:00
970b9d850e getting rid of some code duplication 2025-11-14 16:52:09 +01:00
632cf9b542 progress bar shows how long until next timer elapse 2025-11-13 23:56:52 +01:00
e29559e46d improve dark mode colors + fix dark logo in chrome 2025-11-13 22:01:02 +01:00
02cbbe601a disable forcing light/dark mode (doesn't work properly) 2025-11-13 19:50:33 +01:00
6efc27453e new featuregit status dark mode 2025-11-13 19:25:43 +01:00
1f72542234 cleanup code a bit more 2025-11-12 14:34:46 +01:00
e0863c9443 merge recovered app state with default app state (makes a difference if the recovered app state is only partially defined) 2025-11-08 10:36:42 +01:00
9922f8588d clean up code a bit (split of SideBar component and simulator callbacks from App) + fix bug in property checker 2025-11-08 10:32:28 +01:00
f5c427d61b fix: plant steps were wrongly showing statechart output events 2025-11-06 21:26:17 +01:00
5b48895c94 fix typescript error 2025-11-06 19:53:43 +01:00
3c302a83c5 fix bug + more info on stored traces 2025-11-06 19:12:02 +01:00
49e701c7d7 nearly the entire application state is saved in URL 2025-11-06 18:48:37 +01:00
c7e661eb61 can define multiple properties. can see detailed view of chosen property. 2025-11-06 16:25:48 +01:00
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