diff --git a/run_tree/osx/arm64/debug/convert_csv b/run_tree/osx/arm64/debug/convert_csv index 3d27b69..87a32a2 100755 Binary files a/run_tree/osx/arm64/debug/convert_csv and b/run_tree/osx/arm64/debug/convert_csv differ diff --git a/run_tree/osx/arm64/debug/lumenarium b/run_tree/osx/arm64/debug/lumenarium index 7aad580..d188c08 100755 Binary files a/run_tree/osx/arm64/debug/lumenarium and b/run_tree/osx/arm64/debug/lumenarium differ diff --git a/src_v2/user_space/incenter_patterns.c b/src_v2/user_space/incenter_patterns.c index 2090082..14d26b5 100644 --- a/src_v2/user_space/incenter_patterns.c +++ b/src_v2/user_space/incenter_patterns.c @@ -1058,3 +1058,17 @@ pattern_felt_isolated_passive(Assembly_Pixel_Buffer pixels, Assembly_Strip_Array } } + +void +pattern_rainbow(Assembly_Pixel_Buffer pixels, Assembly_Strip_Array strips, Incenter_State* ins) +{ + Assembly_Pixel p = color_v3_to_assembly_pixel((v3){ + .x = pm_sinf_01(ins->scene_time), + .y = pm_cosf_01(ins->scene_time), + .z = 0.5f, + }); + for (u32 j = 0; j < pixels.len; j++) + { + pixels.pixels[j] = p; + } +} \ No newline at end of file diff --git a/src_v2/user_space/incenter_scenes.h b/src_v2/user_space/incenter_scenes.h index 078a4b9..405bca8 100644 --- a/src_v2/user_space/incenter_scenes.h +++ b/src_v2/user_space/incenter_scenes.h @@ -53,8 +53,8 @@ incenter_scene_descs_init() incenter_scene_descs[Incenter_Scene_WelcomeHome] = (Incenter_Scene){ .name = "WelcomeHome", .patterns = { - [Incenter_SceneMode_Intro] = pattern_sun_passive, - [Incenter_SceneMode_Passive] = pattern_sun_passive, + [Incenter_SceneMode_Intro] = pattern_rainbow, + [Incenter_SceneMode_Passive] = pattern_rainbow, [Incenter_SceneMode_Input] = pattern_sun_passive, }, };