File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -485,8 +485,8 @@ void render_star_ball(DemoContext *ctx)
485485 bg_stars [i ].y = (float )(rand () % HEIGHT );
486486 bg_stars [i ].layer = i % 3 ; /* Distribute across 3 layers */
487487 /* Fainter stars for farther layers */
488- bg_stars [i ].brightness = (bg_stars [i ].layer == 0 ) ? 40 :
489- (bg_stars [i ].layer == 1 ) ? 60 : 80 ;
488+ bg_stars [i ].brightness = (bg_stars [i ].layer == 0 ) ? 60 :
489+ (bg_stars [i ].layer == 1 ) ? 90 : 120 ;
490490 }
491491 bg_initialized = 1 ;
492492 }
@@ -535,7 +535,7 @@ void render_star_ball(DemoContext *ctx)
535535
536536 int h_section = (int )(hue * 6 );
537537 float f = hue * 6 - h_section ;
538- int v = 200 ; /* Slightly dimmer so ball stands out */
538+ int v = 160 ; /* Dimmer so ball and stars stand out */
539539 int p = 0 ;
540540 int q = (int )(v * (1 - f ));
541541 int t_val = (int )(v * f );
You can’t perform that action at this time.
0 commit comments