-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdefault_config.json
More file actions
807 lines (563 loc) · 31.2 KB
/
Copy pathdefault_config.json
File metadata and controls
807 lines (563 loc) · 31.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
// Do not modify this file. If you want to customize the configuration, create a file `config.json` and
// specify only the settings you want to override.
{
// Optional, string, default: "info".
// Valid values: "quiet", "error", "warning", "info", "debug", "all" (from quietest to most verbose).
"log_level": "info",
// Configuration for the web server.
// Optional. This whole stanza is optional because none of the keys within it are required.
"server": {
// Optional, boolean, default: false. Set to true if you want to run the web server with SSL (https).
"use_ssl": false,
// Optional, string, default: "". Only applicable when use_ssl is true.
"keyfile": "",
// Optional, string, default: "". Only applicable when use_ssl is true.
"certfile": "",
},
// Configuration used whenever displaying anything on the LEDs.
// Required. At least one key within this stanza is required.
"leds": {
// Required, string. Controls which LED driver is used. Valid values: apa102, rgbmatrix, ws2812b.
"driver": "",
// Required, integer. The width of your LED matrix, in pixels.
"display_width": 0,
// Required, integer. The height of your LED matrix, in pixels.
"display_height": 0,
// Optional, integer, default: 10. Global brightness of LEDs as a percentage [0, 100].
"brightness": 10,
// Optional, boolean, default: false. Whether to swap left to right when outputting to the LED matrix.
// Setting this might be necessary if you wired your LEDs differently.
"flip_x": false,
// Optional, boolean, default: false. Whether to swap top to bottom when outputting to the LED matrix.
// Setting this might be necessary if you wired your LEDs differently.
"flip_y": false,
// Optional, boolean. Whether to apply gamma correction and per-channel color balancing.
// Default: true for apa102/ws2812b (LED strips need gamma correction),
// false for rgbmatrix (HUB75 panels have their own color handling).
// The gamma correction was calibrated for APA102 strips and includes aggressive
// per-channel scaling (green to 45%, blue to 37.5%) which is wrong for RGB matrices.
// "gamma_enabled": false,
},
// Configuration specific to the RGB Matrix driver (HUB75 panels).
// Optional. This whole stanza is optional because none of the keys within it are required.
"rgbmatrix": {
// Optional, integer, default: 4. GPIO slowdown for Pi 3/4. Try 2-5 if you see issues.
"gpio_slowdown": 4,
// Optional, integer, default: 11. PWM bits for color depth (1-11). Lower = faster refresh.
"pwm_bits": 11,
// Optional, integer, default: 130. PWM timing in nanoseconds. Try 100-300.
"pwm_lsb_nanoseconds": 130,
// Optional, integer, default: 0. Limit refresh rate in Hz (0 = unlimited).
"limit_refresh_rate_hz": 0,
// Optional, boolean, default: false. Use software PWM instead of hardware.
// Enable if you have audio conflicts.
"disable_hardware_pulsing": false,
},
// Configuration specific to displaying videos.
// Optional. This whole stanza is optional because none of the keys within it are required.
"video": {
// Optional, string, default: "color". Controls whether videos are displayed in color or monochrome.
// Valid values: color, bw, red, green, blue, inv_color, inv_bw.
"color_mode": "color",
// Opetional, boolean, default: true. Whether to play audio when playing videos.
"should_play_audio": true,
// Optional, boolean, default: false. Whether to save the videos that are played. Saving the video
// allows us to avoid yt-dlp network calls to download the video if it's played again.
"should_save_video": false,
// Optional, boolean, default: false. Whether to predownload the video, as opposed to streaming it.
// Setting this to true forces the video to fully download before playing.
"should_predownload_video": false,
},
"sound": {
// Optional integer, default: 0. The card number to use for the `amixer` command. This can be useful if
// you use an external soundcard. Check the output of `aplay --list-devices` to determine which card
// number to use. See: https://gist.github.com/dasl-/e400409f4f3afdcaf2aef3f40af8528f
"card": 0,
// Optional integer, default: 1. The numid to use for the `amixer` command. This can be useful if
// you use an external soundcard. Check the output of `amixer -c <card_number> controls` to determine
// which numid to use. See: https://gist.github.com/dasl-/e400409f4f3afdcaf2aef3f40af8528f
"numid": 1,
// Optional, ?boolean, default: null. Whether volume should be adjusted logarithmically to match
// perceptual loudness. If the volume slider increments don't seem natural, try enabling this. Null
// means try to autodetect (i.e. set to `true` for raspberry pi internal sound card, and set to
// `false` for external sound cards).
"adjust_volume_logarithmically": null,
// Optional, ?integer, default: null. Volume level at which to limit raspberry pi. This can be useful
// in conjunction with the raspberry pi headphone jack, because the internal soundcard allows
// incrementing the volume to a level which results in clipping. Null means try to autodetect (i.e.
// set to `0` for raspberry pi internal sound card, and set to the global max vol val for external
// sound cards).
"limited_max_vol_val": null,
},
// Configuration specific to the screensavers that play while nothing is in the playlist queue.
// Optional. This whole stanza is optional because none of the keys within it are required.
"screensavers": {
// Optional, array of strings, default: ["game_of_life", "cyclic_automaton"].
// Which screensavers are included in the rotation. Use screensaver IDs.
"enabled": ["game_of_life", "cyclic_automaton"],
// Optional, ?float, default: 120. Screensaver timeout in seconds.
// Each screensaver will end after this many seconds and rotate to the next one.
// Set to null or 0 to disable (screensavers run indefinitely).
// Can be overridden per-screensaver via screensavers.configs.<id>.timeout.
// A per-screensaver timeout of null falls back to this global value.
"timeout": 120,
// Optional, float, default: 0.05. Seconds to sleep between ticks (frame rate).
// Can be overridden per-screensaver via screensavers.configs.<id>.tick_sleep.
"tick_sleep": 0.05,
// Configuration for transitions between screensavers.
// Optional. This whole stanza is optional because none of the keys within it are required.
"transitions": {
// Optional, boolean, default: true. Whether to play animated transitions between screensavers.
"enabled": true,
// Optional, float, default: 1.0. Duration of the transition in seconds.
"duration": 1.0,
// Optional, float, default: 0.03. Seconds to sleep between transition frames.
"tick_sleep": 0.03,
// Optional, integer, default: 60. Number of ticks to pre-render the next screensaver
// before playing the transition. This makes the transition move into an already-running
// screensaver instead of a blank frame. Higher values give the next screensaver more
// time to build up visual state. Set to 0 to disable pre-rendering.
"warm_up_ticks": 60,
},
// Per-screensaver configuration.
// Each screensaver has its own stanza with configurable options.
"configs": {
"airplay_karaoke": {
// Optional, string, default: "/tmp/shairport-sync-metadata".
// Path to the shairport-sync metadata pipe.
"metadata_pipe": "/tmp/shairport-sync-metadata",
// Optional, float, default: 0.05. How long to sleep between display updates.
"tick_sleep": 0.05,
// Optional, boolean, default: true. Whether current lyrics pulse in brightness.
// When false, lyrics display at a steady dimmer brightness.
"pulse_lyrics": true,
},
"aurora": {
// Optional, integer, default: 4. Number of aurora curtains.
"num_curtains": 4,
// Optional, boolean, default: true. Whether to show twinkling background stars.
"show_stars": true,
// Optional, integer, default: 15. Number of background stars.
"num_stars": 15,
// Optional, float, default: 1.0. Overall animation speed multiplier.
"time_speed": 1.0,
// Optional, float, default: 0.04. How long to sleep between ticks, in seconds.
"tick_sleep": 0.04,
},
"blueprint": {},
"boids": {
// Optional, integer, default: 15. Number of boids in the simulation.
"num_boids": 15,
// Optional, float, default: 0.05. How long to sleep between ticks, in seconds.
"tick_sleep": 0.05,
// Optional, float, default: 1.5. Maximum speed of boids.
"max_speed": 1.5,
// Optional, float, default: 8.0. Perception radius for flocking behavior.
"perception_radius": 8.0,
// Optional, float, default: 2.0. Minimum distance for separation behavior.
"min_distance": 2.0,
// Optional, float, default: 1.5. Weight for separation steering.
"separation_weight": 1.5,
// Optional, float, default: 1.0. Weight for alignment steering.
"alignment_weight": 1.0,
// Optional, float, default: 1.0. Weight for cohesion steering.
"cohesion_weight": 1.0,
},
"colorfield": {},
"cosmic_dream": {
// Optional, integer, default: 20. Number of particles in the flow field.
"num_particles": 20,
// Optional, integer, default: 8. Length of particle trails.
"trail_length": 8,
// Optional, float, default: 0.5. Speed of particles.
"particle_speed": 0.5,
// Optional, float, default: 0.03. How long to sleep between ticks, in seconds.
"tick_sleep": 0.03,
},
"cyclic_automaton": {
// Optional, float, default: 0.07. How long to sleep between ticks, in seconds,
"tick_sleep": 0.07,
// Optional, integer, default: 16. How many frames are analyzed to determine if we are stuck in a loop
// and if we should to end the game.
"game_over_detection_lookback": 16,
// Optional, boolean, default: false. Whether to do fade transitions between frames of the game.
"fade": false,
},
"domainwarp": {},
"double_pendulum": {
// Optional, float, default: 0.03. Tick sleep time.
"tick_sleep": 0.03,
},
"dvd_bounce": {
// Optional, integer, default: 8. Width of the bouncing logo in pixels.
"logo_width": 8,
// Optional, integer, default: 4. Height of the bouncing logo in pixels.
"logo_height": 4,
// Optional, float, default: 0.5. Movement speed of the logo.
"speed": 0.5,
// Optional, string, default: random. Color mode for the logo.
// Valid values: "random", "rainbow", "pastel", "white".
"color_mode": "random",
// Optional, boolean, default: true. Whether to show a border around the logo.
"show_border": true,
// Optional, boolean, default: false. Whether to show "DVD" text in the logo.
"show_text": false,
// Optional, float, default: 0.03. Tick sleep time.
"tick_sleep": 0.03,
},
"escher": {
// Optional, float, default: 0.03. Tick sleep time.
"tick_sleep": 0.03,
},
"fire": {
// Optional, float, default: 0.03. Tick sleep time.
"tick_sleep": 0.03,
},
"flowfield": {
// Optional, integer, default: 50. Number of particles.
"num_particles": 50,
// Optional, float, default: 0.95. Fade rate per frame.
"fade": 0.95,
// Optional, float, default: 0.5. Particle movement speed.
"speed": 0.5,
// Optional, float, default: 0.03. Tick sleep time.
"tick_sleep": 0.03,
},
"game_of_life": {
// Optional, float in range: [0,1], default: 0.3333. How likely each pixel is to be alive (on)
// in the initial state.
"seed_liveness_probability": 0.3333,
// Optional, float, default: 0.07. How long to sleep between ticks, in seconds,
"tick_sleep": 0.07,
// Optional, integer, default: 16. How many frames are analyzed to determine if we are stuck in a loop
// and if we should to end the game.
"game_over_detection_lookback": 16,
// Optional, string, default: "random". The color mode for the game.
// Valid values: "random", "red", "green", "blue", "bw", "rainbow".
"game_color_mode": "random",
// Optional, string, default: "random". The variant for the game.
// Valid values: "normal", "immigration".
// See: https://cs.stanford.edu/people/eroberts/courses/soco/projects/2008-09/modeling-natural-systems/gameOfLife2.html
"variant": "random",
// Optional, boolean, default: false. Whether to do fade transitions between frames of the game.
"fade": false,
// Optional, boolean, default: false. Whether to invert the colors.
"invert": false,
},
"geodesic": {
// Optional, float, default: 0.03. Tick sleep time.
"tick_sleep": 0.03,
},
"halftone": {},
"hex_grid": {},
"inkinwater": {
// Optional, float, default: 0.06. Chance of new drop per frame.
"drop_chance": 0.06,
// Optional, float, default: 0.15. How fast ink diffuses.
"diffusion_rate": 0.15,
// Optional, float, default: 0.03. Upward flow strength (0 to disable).
"flow_strength": 0.03,
// Optional, float, default: 0.997. Slow fade rate.
"fade": 0.997,
// Optional, float, default: 0.04. Tick sleep time.
"tick_sleep": 0.04,
},
"kaleidoscope": {},
"klee": {},
"lavalamp": {
// Optional, integer, default: 10. Number of blobs.
"num_blobs": 10,
// Optional, float, default: 0.03. How fast blobs heat up.
"heat_rate": 0.03,
// Optional, float, default: 0.02. How fast blobs cool down.
"cool_rate": 0.02,
// Optional, float, default: 0.08. Buoyancy force strength.
"buoyancy": 0.08,
// Optional, float, default: 0.05. Tick sleep time.
"tick_sleep": 0.05,
},
"lenia": {},
"lorenz": {
// Optional, float, default: 10.0. Lorenz sigma parameter.
"sigma": 10.0,
// Optional, float, default: 28.0. Lorenz rho parameter.
"rho": 28.0,
// Optional, float, default: 2.667. Lorenz beta parameter.
"beta": 2.667,
// Optional, float, default: 0.01. Time step for integration.
"dt": 0.01,
// Optional, integer, default: 5. Integration steps per frame.
"steps_per_frame": 5,
// Optional, integer, default: 800. Number of points in the trail.
"trail_length": 800,
// Optional, float, default: 0.005. Speed of view rotation.
"rotation_speed": 0.005,
// Optional, float, default: 0.03. How long to sleep between ticks, in seconds.
"tick_sleep": 0.03,
},
"mandelbrot": {
// Optional, integer, default: 100. Maximum iterations for escape calculation.
// Higher values show more detail but are slower.
"max_iterations": 100,
// Optional, float, default: 1.02. Zoom multiplier per tick.
// Values closer to 1.0 zoom slower.
"zoom_speed": 1.02,
// Optional, float, default: 0.02. How fast the view moves toward the target.
// Values closer to 0 move slower.
"lerp_factor": 0.02,
// Optional, float, default: 0.05. How long to sleep between ticks, in seconds.
"tick_sleep": 0.05,
},
"matrix_rain": {
// Optional, float, default: 0.2. Minimum drop fall speed.
"min_speed": 0.2,
// Optional, float, default: 0.8. Maximum drop fall speed.
"max_speed": 0.8,
// Optional, integer, default: 4. Minimum trail length.
"min_length": 4,
// Optional, integer, default: 12. Maximum trail length.
"max_length": 12,
// Optional, float, default: 0.85. Trail fade rate per tick (0-1).
"fade_rate": 0.85,
// Optional, float, default: 0.08. Probability of spawning new drops.
"spawn_rate": 0.08,
// Optional, string, default: "green". Color mode for the rain.
// Valid values: "green", "blue", "rainbow", "white".
"color_mode": "green",
// Optional, float, default: 0.05. How long to sleep between ticks, in seconds.
"tick_sleep": 0.05,
},
"melting_clock": {
// Optional, boolean, default: false. Whether to show seconds (HH:MM:SS vs HH:MM).
"show_seconds": false,
// Optional, string, default: null (local time). Timezone to display time in.
// Examples: "America/New_York", "Europe/London", "Asia/Tokyo", "UTC".
// See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
"timezone": null,
// Optional, float, default: 0.15. Speed of melting/dripping animation.
"melt_speed": 0.15,
// Optional, float, default: 0.05. Speed of new digit forming.
"form_speed": 0.05,
// Optional, float, default: 0.85. Trail fade rate per tick (0-1).
"trail_fade": 0.85,
// Optional, float, default: 0.001. Speed of color hue cycling.
"hue_speed": 0.001,
// Optional, string, default: "rainbow". Color mode.
// Valid values: "rainbow", "green", "blue", "red", "white".
"color_mode": "rainbow",
// Optional, float, default: 0.05. How long to sleep between ticks, in seconds.
"tick_sleep": 0.05,
},
"metaballs": {
// Optional, integer, default: 5. Number of metaballs.
"num_balls": 5,
// Optional, float, default: 0.5. Movement speed of metaballs.
"speed": 0.5,
// Optional, float, default: 1.0. Threshold for blob surface (lower = larger blobs).
"threshold": 1.0,
// Optional, boolean, default: true. Whether to add glow effect at blob edges.
"glow": true,
// Optional, float, default: 0.04. How long to sleep between ticks, in seconds.
"tick_sleep": 0.04,
},
"misprint": {},
"moire": {},
"noise_gradient": {},
"nyc_subway": {
// Optional, array of strings, default: ["127N", "127S"].
// Stop IDs to monitor. Format: stop_id + direction (N=uptown/north, S=downtown/south).
// Find stop IDs at: https://transitfeeds.com/p/mta/79/latest/stops
// Examples:
// "127N"/"127S" = 34 St-Penn Station (1/2/3)
// "A32N"/"A32S" = 34 St-Penn Station (A/C/E)
// "R17N"/"R17S" = 34 St-Herald Sq (N/Q/R/W/B/D/F/M)
// "L01N"/"L01S" = 8 Av (L)
// "631N"/"631S" = Grand Central-42 St (4/5/6)
"stop_ids": ["D25N", "237N", "A44N"],
// Optional, array of strings, default: ["1", "2", "3"].
// Subway lines to display. Use line letters/numbers.
"lines": ["B", "Q", "2", "3", "4", "5", "A", "C"],
// Optional, integer, default: 30. How often to refresh data from MTA, in seconds.
"update_interval": 30,
// Optional, integer, default: 4. Maximum number of arrivals to show.
"max_arrivals": 4,
// Optional, float, default: 1.0. How long to sleep between display updates, in seconds.
"tick_sleep": 0.05,
},
"opart": {
// Optional, float, default: 0.03. Tick sleep time.
"tick_sleep": 0.03,
},
"pendulumwaves": {
// Optional, integer, default: 0. Number of pendulums (0 = auto based on width).
"num_pendulums": 0,
// Optional, float, default: 60.0. Base period in frames for longest pendulum.
"base_period": 60.0,
// Optional, integer, default: 600. Frames for full pattern cycle.
"cycle_time": 600,
// Optional, float, default: 1.5. Size of pendulum bob.
"bob_size": 1.5,
// Optional, float, default: 0.85. Trail fade rate.
"trail_fade": 0.85,
// Optional, string, default: rainbow. Color mode: rainbow, gradient, white.
"color_mode": "rainbow",
// Optional, float, default: 0.03. Tick sleep time.
"tick_sleep": 0.03,
},
"perlinworms": {
// Optional, integer, default: 8. Number of worms.
"num_worms": 8,
// Optional, integer, default: 12. Length of each worm in segments.
"worm_length": 12,
// Optional, float, default: 0.8. Worm movement speed.
"speed": 0.8,
// Optional, float, default: 0.1. Scale of noise field.
"noise_scale": 0.1,
// Optional, float, default: 0.02. How fast noise field evolves.
"time_speed": 0.02,
// Optional, float, default: 0.92. Trail fade rate.
"fade": 0.92,
// Optional, float, default: 1.5. Glow radius around worm segments.
"glow_size": 1.5,
// Optional, float, default: 0.03. Tick sleep time.
"tick_sleep": 0.03,
},
"phyllotaxis": {},
"pixelsort": {},
"purkinje": {},
"self_healing_squares": {
// Optional, float, default: 0.03. Tick sleep time.
"tick_sleep": 0.03,
},
"shadebobs": {
// Optional, integer, default: 5. Number of bobs (glowing circles).
"num_bobs": 5,
// Optional, float, default: 0.92. Fade rate per frame (lower = faster fade).
"fade": 0.92,
// Optional, float, default: 0.03. How long to sleep between ticks, in seconds.
"tick_sleep": 0.03,
},
"sonos_karaoke": {
// Optional, string, default: null. Name of Sonos speaker to use.
// If null, uses first discovered speaker.
// Example: "Living Room", "Kitchen"
"speaker_name": null,
// Optional, float, default: 0.5. How often to poll Sonos for position (seconds).
"update_interval": 0.5,
// Optional, float, default: 0.05. How long to sleep between display updates.
"tick_sleep": 0.05,
// Optional, boolean, default: true. Whether current lyrics pulse in brightness.
// When false, lyrics display at a steady dimmer brightness.
"pulse_lyrics": true,
},
"spirograph": {
// Optional, integer, default: 500. Number of points in the trail.
"trail_length": 500,
// Optional, boolean, default: true. Whether older trail points fade out.
"fade_trail": true,
// Optional, float, default: 1.0. Speed multiplier for pattern generation.
"time_speed": 1.0,
// Optional, float, default: 0.02. How long to sleep between ticks, in seconds.
"tick_sleep": 0.02,
},
"starfield": {
// Optional, integer, default: 80. Number of stars.
"num_stars": 80,
// Optional, float, default: 0.02. Speed of stars moving toward viewer.
"speed": 0.02,
// Optional, boolean, default: true. Whether to show motion trails on close stars.
"show_trails": true,
// Optional, integer, default: 3. Length of motion trails.
"trail_length": 3,
// Optional, float, default: 0.03. How long to sleep between ticks, in seconds.
"tick_sleep": 0.03,
},
"stringart": {
// Optional, integer, default: 64. Number of points on the circle.
"num_points": 64,
// Optional, integer, default: 32. Number of strings to draw.
"num_strings": 32,
// Optional, float, default: 0.02. Speed of multiplier change.
"multiplier_speed": 0.02,
// Optional, float, default: 0.01. Rotation speed.
"rotation_speed": 0.01,
// Optional, float, default: 0.15. Fade rate per frame.
"fade": 0.15,
// Optional, float, default: 0.4. Line brightness.
"line_brightness": 0.4,
// Optional, float, default: 0.03. Tick sleep time.
"tick_sleep": 0.03,
},
"test_print": {},
"unknownpleasures": {
// Optional, integer, default: 0. Number of wave lines (0 = auto based on height).
"num_lines": 0,
// Optional, float, default: 0.05. Wave animation speed.
"wave_speed": 0.05,
// Optional, float, default: 0.15. Noise scale for wave generation.
"noise_scale": 0.15,
// Optional, float, default: 0.4. Wave amplitude.
"amplitude": 0.4,
// Optional, float, default: 1.0. Line brightness.
"line_brightness": 1.0,
// Optional, boolean, default: true. Fill below wave lines (solid mountain effect).
"fill_below": true,
// Optional, string, default: white. Color mode: white, blue, rainbow.
"color_mode": "white",
// Optional, float, default: 0.05. Tick sleep time.
"tick_sleep": 0.05,
},
"video_screensaver": {
// Optional, array, default: []. Videos that may be cycled through as screensavers.
// Add videos to the data/screensavers directory and update this value with those names.
"saved_videos": [],
},
"vortices": {
// Optional, float, default: 0.03. Tick sleep time.
"tick_sleep": 0.03,
},
"wave_interference": {
// Optional, integer, default: 4. Number of wave sources.
"num_sources": 4,
// Optional, float, default: 0.5. Frequency of the waves (higher = tighter ripples).
"wave_frequency": 0.5,
// Optional, float, default: 0.15. How fast time advances (wave animation speed).
"time_speed": 0.15,
// Optional, float, default: 0.3. How fast sources drift around.
"drift_speed": 0.3,
// Optional, string, default: "rainbow". Color mode for the waves.
// Valid values: "rainbow", "monochrome", "plasma", "classic".
"color_mode": "rainbow",
// Optional, float, default: 0.03. How long to sleep between ticks, in seconds.
"tick_sleep": 0.03,
},
"wfmu": {
// Optional, string, default: "wfmu". Which WFMU stream to display.
// Valid values: "wfmu" (main 91.1), "gtd" (Give the Drummer Radio),
// "rock_n_soul" (Rock'n'Soul Radio).
"channel": "wfmu",
// Optional, integer, default: 15. How often to refresh data, in seconds.
"update_interval": 15,
// Optional, float, default: 0.05. How long to sleep between display updates.
"tick_sleep": 0.05,
},
},
},
// Configuration specific to playing snake.
// Optional. This whole stanza is optional because none of the keys within it are required.
"snake": {
// Optional, string, default: "random". The color mode for the game.
// Valid values: "random", "red", "green", "blue", "bw", "rainbow".
"game_color_mode": "random",
},
// Configuration specific to playing pong.
// Optional. This whole stanza is optional because none of the keys within it are required.
"pong": {
// Optional, integer, default: 3. Height of the paddles in pixels.
"paddle_height": 3,
// Optional, float, default: 0.5. Initial ball speed.
"ball_speed": 0.5,
// Optional, float, default: 1.5. Maximum ball speed.
"max_ball_speed": 1.5,
},
}