159 Commits

Author SHA1 Message Date
5c10dcbd7d task: require Tasks to have Send 2024-12-01 21:26:38 +01:00
06a527a552 render: require more rendering primitives to have Sync and/or Send 2024-12-01 21:26:03 +01:00
15308ecd76 buffers: require Send for Pixmaps 2024-12-01 21:23:07 +01:00
0884c704b0 platform: remove Peripherals param from board trait 2024-12-01 21:21:50 +01:00
59c3307c27 geometry: make rectangle::new const 2024-12-01 21:09:56 +01:00
28c9d61926 cargo: clean up some deps 2024-12-01 21:09:01 +01:00
d23321d2ec mappings: pass a raw array for creating strides instead of a bigger, slower vec 2024-12-01 21:08:26 +01:00
d72f4c9a85 task: core++ 2024-12-01 21:07:27 +01:00
d6d4d5b76b task: use a faster enum instead of fancy heap allocations for task states 2024-12-01 21:07:09 +01:00
9af4af6269 time: use core 2024-12-01 21:05:15 +01:00
36aead9762 src: use core instead of std in some places, aiming for no_std compat 2024-12-01 16:17:51 +01:00
0f73b42818 mappings: clippy++ 2024-11-30 16:06:24 +01:00
3af9ad408e platform: rewrite the platform-specific display creation traits into a new Board trait that also supports tasks 2024-11-30 16:06:17 +01:00
57e660cbb6 time: add a tick() function to Periodically to avoid needing Fn 2024-11-30 16:05:01 +01:00
94567b9b60 buffers: move Pixmap out of smart_leds and into buffers 2024-11-29 19:00:07 +01:00
4000e1d0e7 lib8: Rgb8Blend is no longer used 2024-11-29 18:59:31 +01:00
815d1417e0 buffers: fix threads 2024-11-29 18:59:00 +01:00
6fe5fdcc1a animations: clean up casts for future 16 bit coord support 2024-11-29 18:58:27 +01:00
198aa0ebd0 cleanup++ 2024-11-29 18:13:38 +01:00
bd2f2edebb render: effectively rename Display to Output, push remaining common code into Renderer task 2024-11-29 18:13:22 +01:00
5ca062adbd animations: build++ 2024-11-29 16:40:49 +01:00
a002b72567 animations: build++ 2024-11-29 10:58:35 +01:00
26a8924bc8 clippy++ 2024-11-29 10:58:17 +01:00
9289a829be mappings: split coord mapping from pixel mapping 2024-11-29 10:57:33 +01:00
d28c2a1a4c render: merge Framed trait into Display 2024-11-29 00:14:06 +01:00
2f9b99c2b0 geometry: cut down on <> noise with associated types 2024-11-29 00:10:52 +01:00
5488f85792 warnings-- 2024-11-28 19:38:44 +01:00
b1b088eab6 noise: warnings-- 2024-11-28 19:36:44 +01:00
992a8b2568 render: s/RGB8/Rgb<u8>/ 2024-11-28 19:30:10 +01:00
04f5575ba6 platform: smart_leds: simplify trait hierarchy and push pixel type conversion even closer towards the hardware 2024-11-24 23:53:43 +01:00
a76d040ff6 interpolate: pub Fract8 2024-11-24 23:51:18 +01:00
30ed741349 buffers: update threaded implementations 2024-11-24 23:51:03 +01:00
3783bc60b2 animations: rewrite animations with improved surface capabilities 2024-11-24 21:55:24 +01:00
d17baa754f lib8: trig: style++ 2024-11-24 21:54:20 +01:00
2c7d1d2888 mappings: split out ponderjar/panel layouts into separate new functions 2024-11-24 21:53:27 +01:00
54e7506865 mappings: rewrite pixel maps to use the stronger geometry primitives and coordinate space APIs 2024-11-24 19:09:20 +01:00
e8f6a90d0f geometry: style++ 2024-11-24 19:04:35 +01:00
60bcf4faa3 geometry: implement distance API for points 2024-11-24 18:59:16 +01:00
450fbbf9c9 geometry: simplify coord traits, add sized, clone, copy, etc 2024-11-24 18:58:36 +01:00
35ccf20142 lib8: trig: rewrite sin8/cos8 to use traits, for easy modular math with usize 2024-11-24 18:56:47 +01:00
64c28b89fe lib8: interpolate: implement blend8 API 2024-11-24 18:55:54 +01:00
facb95c363 lib8: noise: use wrapping shifts to fix sampling errors 2024-11-24 18:55:11 +01:00
859177a65c lib8: fix hsv2rgb implementation by prescaling the hue 2024-11-24 18:54:25 +01:00
be8aa0248d mappings: default to max 24 strides 2024-11-24 18:52:56 +01:00
b5e1b114f6 render: add opacity to surfaces 2024-11-24 18:51:51 +01:00
43c3344418 sdkconfig: use 240mhz cpu 2024-11-24 18:33:03 +01:00
23fcf1f35f geometry: s/assert/debug_assert/ 2024-11-23 15:01:24 +01:00
a7b681a046 geometry: implement width/height/left/top/right/bottom operations for rectangles 2024-11-23 15:01:02 +01:00
ff610fa6aa platform: smart_leds: use 310 pixels instead of 300 2024-11-23 14:52:36 +01:00
d3a7f8a3e9 cargo: add esp32s3 as a target, configure espflash to use --no-stub 2024-11-23 14:52:04 +01:00