@@ -80,7 +80,7 @@ typedef struct { float r, angle, vr, brightness, size_scale; } BgStar;
8080static BgStar bg_stars [NUM_BG_STARS ];
8181static StarVertex bg_verts [NUM_BG_STARS ];
8282
83- #define SPIRAL_GM 8000000 .0f // gravitational constant — tune for feel
83+ #define SPIRAL_GM 16000000 .0f // gravitational constant — tune for feel
8484#define SPIRAL_OMEGA 1.0f // base angular velocity (rad/s)
8585#define SPIRAL_OMEGA_R 300.0f // differential rotation scale (inner faster)
8686
@@ -128,7 +128,7 @@ static void init_bg_stars(void) {
128128 }
129129}
130130
131- #define NOVA_GM 800000 .0f // outward repulsion strength for nova
131+ #define NOVA_GM 4000000 .0f // outward repulsion strength for nova
132132
133133// Integrate one timestep of gravitational attraction toward center
134134static void update_bg_spiral (float dt ) {
@@ -526,7 +526,7 @@ static void draw_anim5(float anim_t, float dt, Shader *star_sh) {
526526
527527// ─── Video recording ──────────────────────────────────────────────────────────
528528#define RECORD_FPS 30
529- #define RECORD_SECS 40 // capture this many seconds then exit
529+ #define RECORD_SECS 38 // capture this many seconds then exit
530530
531531typedef struct { int pipefd [2 ]; pid_t pid ; } VideoRecorder ;
532532
@@ -642,7 +642,7 @@ int main(void) {
642642 /* ============================================================
643643 ANIMATION 5: Spiral resumes (21s+), thumbnails start at 22s
644644 ============================================================ */
645- else if (t < 32 .0f ) {
645+ else if (t < 30 .0f ) {
646646 update_bg_spiral (dt );
647647 draw_anim5 (t - 22.0f , dt , & star_shader );
648648 }
@@ -652,7 +652,7 @@ int main(void) {
652652 Text "4.0" and "puffer.ai" fade in 2s after nova
653653 ============================================================ */
654654 else {
655- float nova_t = t - 32 .0f ;
655+ float nova_t = t - 30 .0f ;
656656 update_bg_nova (dt );
657657 build_bg_verts_spiral (1.0f , 1 );
658658 draw_stars (bg_verts , bg_draw_count , & star_shader );
0 commit comments