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

rogueviz:: reorganized the presentations

This commit is contained in:
Zeno Rogue
2021-03-30 21:48:04 +02:00
parent 30b79de1f5
commit bdf97fc6de
14 changed files with 95 additions and 47 deletions

View File

@@ -140,7 +140,7 @@ bool draw_snow(cell *c, const shiftmatrix& V) {
bool cylanim = false;
string cap = "non-isotropic geometries/non-Euclidean snowballs/";
string cap = "non-Euclidean snowballs/";
void snow_slide(vector<tour::slide>& v, string title, string desc, reaction_t t) {
using namespace tour;
@@ -236,7 +236,8 @@ auto hchook = addHook(hooks_drawcell, 100, draw_snow)
})
#endif
+ addHook(pres::hooks_build_rvtour, 161, [] (vector<tour::slide>& v) {
+ addHook(pres::hooks_build_rvtour, 161, [] (string s, vector<tour::slide>& v) {
if(s != "noniso") return;
v.push_back(tour::slide{
cap+"snowball visualization", 10, tour::LEGAL::NONE | tour::QUICKSKIP,
"Non-Euclidean visualizations usually show some regular constructions. Could we visualize the geometries themselves? Let's distribute the snowballs randomly."