Commit c31024ba authored by Gaëtan Renaudeau's avatar Gaëtan Renaudeau

polish some transition settings

parent 233b7a57
...@@ -28,9 +28,7 @@ const transitions = [ ...@@ -28,9 +28,7 @@ const transitions = [
[ "colourDistance", function () { [ "colourDistance", function () {
return { interpolationPower: 6 * Math.random() }; return { interpolationPower: 6 * Math.random() };
} ], } ],
[ "swap", function () { "swap",
return { depth: 1 + 4 * Math.random(), perspective: 0.9 + Math.random() * Math.random() };
} ],
[ "doorway", function () { [ "doorway", function () {
return { perspective: Math.random() * Math.random(), depth: 1 + 10 * Math.random() * Math.random() }; return { perspective: Math.random() * Math.random(), depth: 1 + 10 * Math.random() * Math.random() };
} ], } ],
...@@ -40,7 +38,6 @@ const transitions = [ ...@@ -40,7 +38,6 @@ const transitions = [
"TilesScanline", "TilesScanline",
"Dreamy", "Dreamy",
"Swirl", "Swirl",
"HSVfade",
"burn", "burn",
"Radial", "Radial",
[ "ripple", function () { [ "ripple", function () {
...@@ -53,7 +50,7 @@ const transitions = [ ...@@ -53,7 +50,7 @@ const transitions = [
["ButterflyWaveScrawler", function () { ["ButterflyWaveScrawler", function () {
return { return {
amplitude: Math.random(), amplitude: Math.random(),
waves: 100 * Math.random() * Math.random(), waves: 50 * Math.random() * Math.random(),
colorSeparation: 0.8 * Math.random() * Math.random() colorSeparation: 0.8 * Math.random() * Math.random()
}; };
} ], } ],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment