diff --git a/tutorials/VisMusicPlayer.html b/tutorials/VisMusicPlayer.html index 74ee59f..4800c61 100644 --- a/tutorials/VisMusicPlayer.html +++ b/tutorials/VisMusicPlayer.html @@ -102,6 +102,18 @@ Wonky text! +
+ ask.mappings.dimensions.fontSize({
+ element: document.getElementById("font-size-map-demo"), // Nothing new here, just calling a different mapping function.
+ growLower: 1,
+ growUpper: 3,
+ unit: "rem",
+ lowerBin: 200,
+ upperBin: 256,
+ visUpdateRouter: player.visUpdateRouter,
+ interpolator: ask.support.easings.createEaseLinear(2)
+ });
+