1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-26 03:17:39 +00:00

hat:: hat_param_imag

This commit is contained in:
Zeno Rogue
2023-04-11 16:41:05 +02:00
parent d04a015bd0
commit 2a05642198
3 changed files with 66 additions and 27 deletions

View File

@@ -842,6 +842,13 @@ EX void initConfig() {
})
-> set_reaction(hat::reshape);
param_f(hat::hat_param_imag, "hat_param_imag", "hat_param_imag", 0)
-> editable(0, 2, 0.1, "hat parameter (imaginary)",
"Apeirodic hat tiling based on: https://arxiv.org/pdf/2303.10798.pdf\n\n"
"This controls the parameter discussed in Section 6. Parameter p is Tile(p, (2-p)√3), scaled so that the area is the same for every p.", 'v'
)
-> set_reaction(hat::reshape);
addsaver(vid.particles, "extra effects", 1);
param_i(vid.framelimit, "frame limit", 999);