Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fadecandy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
scanlime
Fadecandy
Commits
09eaccb6
Commit
09eaccb6
authored
11 years ago
by
Micah Elizabeth Scott
Browse files
Options
Downloads
Patches
Plain Diff
Adjust parameters for better pacing
parent
ba07161f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/processing/grid32x16z_attractor/Particle.pde
+1
-1
1 addition, 1 deletion
examples/processing/grid32x16z_attractor/Particle.pde
examples/processing/grid32x16z_attractor/grid32x16z_attractor.pde
+2
-2
2 additions, 2 deletions
.../processing/grid32x16z_attractor/grid32x16z_attractor.pde
with
3 additions
and
3 deletions
examples/processing/grid32x16z_attractor/Particle.pde
+
1
−
1
View file @
09eaccb6
...
...
@@ -23,7 +23,7 @@ class Particle
void
draw
(
float
opacity
)
{
float
size
=
height
*
0.
5
;
float
size
=
height
*
0.
6
;
tint
(
rgb
,
opacity
);
blendMode
(
ADD
);
image
(
dot
,
center
.
x
-
size
/
2
,
center
.
y
-
size
/
2
,
size
,
size
);
...
...
This diff is collapsed.
Click to expand it.
examples/processing/grid32x16z_attractor/grid32x16z_attractor.pde
+
2
−
2
View file @
09eaccb6
...
...
@@ -5,8 +5,8 @@ int numParticles = 30;
float
cornerCoefficient
=
0.2
;
int
integrationSteps
=
20
;
float
maxOpacity
=
100
;
float
stepFast
=
1.0
/
4
0
;
float
stepSlow
=
1.0
/
1
000
;
float
stepFast
=
1.0
/
10
0
;
float
stepSlow
=
1.0
/
3
000
;
float
energyThreshold
=
10.0
;
float
brightnessThreshold
=
0.8
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment