Skip to content

Commit

Permalink
Feat: Update particle
Browse files Browse the repository at this point in the history
  • Loading branch information
syt123450 committed Mar 31, 2019
1 parent ea0a1e7 commit b01871f
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 20 deletions.
Binary file added assets/images/particle.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/images/particle.png
Binary file not shown.
7 changes: 2 additions & 5 deletions build/gio.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions build/gio.min.js

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions build/gio.module.js

Large diffs are not rendered by default.

7 changes: 2 additions & 5 deletions build/gio.react.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/data/Particle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/utils/ObjectUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ var ObjectUtils = ( function () {
var points = set.lineGeometry.vertices;
var particleCount = Math.floor( set.v / 8000 / set.lineGeometry.vertices.length ) + 1;
particleCount = Utils.constrain( particleCount, 1, 100 );
var particleSize = set.lineGeometry.size * controller.container.clientHeight / 750;
var particleSize = set.lineGeometry.size * controller.container.clientHeight / 1000;

for ( s = 0; s < particleCount; s++ ) {

Expand Down

0 comments on commit b01871f

Please sign in to comment.