Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gl-react-native-v2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ym
gl-react-native-v2
Commits
c31024ba
Commit
c31024ba
authored
Aug 17, 2015
by
Gaëtan Renaudeau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
polish some transition settings
parent
233b7a57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
Examples/AdvancedEffects/src/TransitionGenerator.js
Examples/AdvancedEffects/src/TransitionGenerator.js
+2
-5
No files found.
Examples/AdvancedEffects/src/TransitionGenerator.js
View file @
c31024ba
...
...
@@ -28,9 +28,7 @@ const transitions = [
[
"
colourDistance
"
,
function
()
{
return
{
interpolationPower
:
6
*
Math
.
random
()
};
}
],
[
"
swap
"
,
function
()
{
return
{
depth
:
1
+
4
*
Math
.
random
(),
perspective
:
0.9
+
Math
.
random
()
*
Math
.
random
()
};
}
],
"
swap
"
,
[
"
doorway
"
,
function
()
{
return
{
perspective
:
Math
.
random
()
*
Math
.
random
(),
depth
:
1
+
10
*
Math
.
random
()
*
Math
.
random
()
};
}
],
...
...
@@ -40,7 +38,6 @@ const transitions = [
"
TilesScanline
"
,
"
Dreamy
"
,
"
Swirl
"
,
"
HSVfade
"
,
"
burn
"
,
"
Radial
"
,
[
"
ripple
"
,
function
()
{
...
...
@@ -53,7 +50,7 @@ const transitions = [
[
"
ButterflyWaveScrawler
"
,
function
()
{
return
{
amplitude
:
Math
.
random
(),
waves
:
10
0
*
Math
.
random
()
*
Math
.
random
(),
waves
:
5
0
*
Math
.
random
()
*
Math
.
random
(),
colorSeparation
:
0.8
*
Math
.
random
()
*
Math
.
random
()
};
}
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment