This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| esphome: | |
| ... | |
| on_boot: | |
| then: | |
| - script.execute: initialize_vectors | |
| - script.execute: update_ball_physics | |
| globals: | |
| # Ball constants | |
| - id: ball_radius |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Outputs something like: | |
| * | |
| * Top 5: | |
| * 1. 96282600 (36.5) — pair 00, palindrome 62826, ends-00, touches: pair 00 + palindrome 62826 | |
| * 2. 97557734 (32.3) — near-run 975, pair 55, pair 77, palindrome 7557, overlaps: near-run 975 ∩ pair 55, overlaps: near-run 975 ∩ palindrome 7557, touches: pair 55 + pair 77, overlaps: pair 77 ∩ palindrome 7557 | |
| * 3. 96699348 (31.6) — pair 66, pair 99, palindrome 9669, touches: pair 66 + pair 99, overlaps: pair 99 ∩ palindrome 9669 | |
| * 4. 96644427 (31.4) — triple 444, pair 66, touches: triple 444 + pair 66 | |
| * 5. 96332109 (27.9) — run4 3210, pair 33, start=end, overlaps: run4 3210 ∩ pair 33 | |
| * |
OlderNewer