We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4401de commit 7f13616Copy full SHA for 7f13616
demos/dynamical-systems/firefly-synchronization.ts
@@ -38,7 +38,11 @@ class FireflySynchronizationDemo extends P5DemoBase {
38
}
39
40
protected getAspectRatio(): number {
41
- return 0.6; // Wider canvas for the field
+ return 0; // Full width, height determined by maxHeightPercent
42
+ }
43
+
44
+ protected getMaxHeightPercent(): number {
45
+ return 0.7;
46
47
48
private initializeFireflies(p: p5): void {
0 commit comments