repositories
/
SugarCubes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4c006f7
)
[Helix] Add some heft and speed up rotation animation
author
Shaheen Gandhi
<shaheen@fb.com>
Wed, 21 Aug 2013 06:27:42 +0000
(23:27 -0700)
committer
Shaheen Gandhi
<shaheen@fb.com>
Wed, 21 Aug 2013 06:27:42 +0000
(23:27 -0700)
ShaheenGandhi.pde
patch
|
blob
|
blame
|
history
diff --git
a/ShaheenGandhi.pde
b/ShaheenGandhi.pde
index 0bfef321c8d9a7d059022867c2422a62c9302129..f94e5e4992c2e519fcef2a71a1e6ffeb83470f3e 100644
(file)
--- a/
ShaheenGandhi.pde
+++ b/
ShaheenGandhi.pde
@@
-159,14
+159,14
@@
class HelixPattern extends SCPattern {
private final BasicParameter basePairsOn = new BasicParameter("BPON", 1);
private static final float helixCoilPeriod = 100;
private final BasicParameter basePairsOn = new BasicParameter("BPON", 1);
private static final float helixCoilPeriod = 100;
- private static final float helixCoilRadius =
45
;
- private static final float helixCoilGirth =
2
0;
- private static final float helixCoilRotationPeriod =
10
000;
+ private static final float helixCoilRadius =
50
;
+ private static final float helixCoilGirth =
3
0;
+ private static final float helixCoilRotationPeriod =
5
000;
private static final float spokePeriod = 40;
private static final float spokePeriod = 40;
- private static final float spokeGirth =
1
0;
+ private static final float spokeGirth =
2
0;
private static final float spokePhase = 10;
private static final float spokePhase = 10;
- private static final float spokeRadius =
35; //
helixCoilRadius - helixCoilGirth*.5f;
+ private static final float spokeRadius = helixCoilRadius - helixCoilGirth*.5f;
private static final float tMin = -200;
private static final float tMax = 200;
private static final float tMin = -200;
private static final float tMax = 200;