Commit graph

90 commits

Author SHA1 Message Date
73c52c1867 finished traffic light example + use WebP format for images 2025-10-31 15:19:32 +01:00
ea72f2d40b add trafficlight images 2025-10-31 13:09:49 +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
56467e5ea5 digital watch can play beep sound 2025-10-26 13:44:23 +01:00
25fbb26fd7 cleanup sounds that are done playing 2025-10-26 12:54:02 +01:00
08dc096792 wrap pausable / play-rate-able audio in a React hook 2025-10-26 12:46:05 +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
aac77b79f2 usability thingy 2025-10-24 01:17:37 +02:00
913a7f1275 bug 2025-10-24 01:14:48 +02:00
41b2de7529 some refactoring and performance optimization 2025-10-24 01:12:50 +02:00
0fac3977b3 fewer unnecessary re-renders 2025-10-24 00:03:20 +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
87ceaa1220 further reduce unnecessary re-renders 2025-10-23 22:00:45 +02:00
2ca2ba5d1b prevent unnecessary re-rendering of rountangles and diamonds 2025-10-23 21:47:39 +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
a25396b6f2 update logo 2025-10-23 16:39:44 +02:00
694380aa18 shortcuts for raising input events 2025-10-22 11:48:45 +02:00
098a6d7e78 disable zoom buttons on min/max zoom 2025-10-22 09:58:47 +02:00
7c66cc1878 improve zoom 2025-10-22 09:45:42 +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
29808a683c fired transitions run animation once 2025-10-21 14:23:25 +02:00
eea420f9b7 fix modal z-index 2025-10-21 11:42:19 +02:00
7045513c0d don't use <hr> for horizontal lines between elements + better looking shadows 2025-10-21 11:33:08 +02:00
431e542791 better scroll behavior on errors in bottom panel 2025-10-21 10:59:14 +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
9e79537b6e CSS: no more shadows (requires too much CPU) 2025-10-21 10:05:02 +02:00
1f9379df7f better UI 2025-10-20 16:29:48 +02:00