Skip to content

Commit c261e78

Browse files
committed
flower scaling tweak
1 parent 122b167 commit c261e78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/AboutProcessCene.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public void draw(int step) {
3131
float caption_y = presentation.textAscent() + presentation.textDescent() + presentation.height/2;
3232
presentation.text(caption, (presentation.width - presentation.textWidth(caption))/2, caption_y);
3333

34-
float flower_scale = presentation.frameCount % 200;
34+
float flower_scale = presentation.frameCount % 400 + 2;
3535
presentation.image(flower_image, (presentation.width - flower_image.width) / 2 - flower_scale, caption_y - flower_image.height - 50 - flower_scale, flower_image.width + flower_scale, flower_image.height + flower_scale);
3636

3737
presentation.image(lucene_logo, (presentation.width/2) - lucene_logo.width - 50,caption_y + 20);

0 commit comments

Comments
 (0)