hyperpower icon indicating copy to clipboard operation
hyperpower copied to clipboard

Particles not disappearing from screen

Open ghost opened this issue 7 years ago • 20 comments

2017-04-01 21 36 34

ghost avatar Apr 02 '17 00:04 ghost

Specifically, the fadeout logic multiplies the particle's alpha by 0.96 each frame, which means it doesn't converge on zero generally, and throttling of RequestAnimationFrame due to load would presumably make this worse

joshclow avatar Apr 27 '18 21:04 joshclow

Nope, I'm wrong. What's actually going on is that the list of particles is cleared at the end of the frame draw if they're low enough opacity, but the check at the start of the next draw skips clearing the canvas if there are no particles, and so leaves the last frame drawn

joshclow avatar Apr 29 '18 00:04 joshclow

Any chance this will be fixed?

jacksonhvisuals avatar Jul 04 '18 19:07 jacksonhvisuals

I'm having the same issue...

CyanoKobalamyne avatar Aug 05 '18 20:08 CyanoKobalamyne

Ditto; same problem. Windows 10 1803, FWIW.

Ugenx avatar Aug 15 '18 05:08 Ugenx

This seems to be theme-specific, the particles do disappear with the default one.

CyanoKobalamyne avatar Sep 29 '18 14:09 CyanoKobalamyne

Any update on this?

azizuysal avatar Jan 14 '19 02:01 azizuysal

Oh, it's around 2 years


Update:

It exists on Mac, 1.1.1 , with Hyper 3.0.0-canary.8 (canary)

linonetwo avatar Feb 14 '19 11:02 linonetwo

I think this is fixed with the last release (v1.1.1). Please update and try to reproduce

chabou avatar Feb 14 '19 12:02 chabou

The problem persists for me. hyperpower hyperpower1 1 1

fabio-oliveira-efeo avatar Feb 14 '19 12:02 fabio-oliveira-efeo

Thank you for your feedback! 🙏

chabou avatar Feb 14 '19 14:02 chabou

Im having same issue...

crstnmac avatar Feb 17 '19 15:02 crstnmac

Same issue image

bernaferrari avatar Apr 23 '19 19:04 bernaferrari

I've fixed it by adding if (particle.alpha < 0.1) particle.alpha = 0; in _drawFrame.

danielhuang avatar Jul 09 '19 18:07 danielhuang

I've fixed it by adding if (particle.alpha < 0.1) particle.alpha = 0; in _drawFrame.

You could open a PR ;)

rfgamaral avatar Jul 09 '19 18:07 rfgamaral

I took the liberty to open a new Pull Request for this, just to save people the hassle of rebasing. Also I made the cutoff point a variable instead of just 0.1, so it's a bit more human-readable. Other than that it is functionally identical to @rfgamaral's PR from two years ago.

#83

lymanjohnson avatar Jun 11 '21 17:06 lymanjohnson

2 pull requests, 5 years, simple issue still unresolved, yet another tragedy of the commons.

digitaljhelms avatar Jul 02 '22 00:07 digitaljhelms

2 pull requests, 5 years, simple issue still unresolved, yet another tragedy of the commons.

I think they did actually merge #75 which addressed the same problem

lymanjohnson avatar Jul 02 '22 03:07 lymanjohnson

The issue still persist because they didn't push the fix to npm. If I put the index.js file from the repo to ~/.hyper_plugins/node_modules/hyperterminal/ this issue get fixed

siddharthroy12 avatar May 13 '23 17:05 siddharthroy12

i have the same issue

Zackariyya avatar Feb 15 '24 16:02 Zackariyya