Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

The opacityscale, 'extremes', has constant opacity equal to 1 #4723

Copy link
Copy link
Closed
@empet

Description

@empet
Issue body actions

The function createWave()

function createWave(n, minOpacity) {
generates an opacityscale with all opacities equal to 1, because:

 Math.max(1, Math.min(0, v)) // line 27

is 1 for any v.

Replacing it by:

 Math.min(1, Math.max(0, v)) 

removes the actual drawback, and leads to a non-constant opacityscale.

Metadata

Metadata

Assignees

Labels

bugsomething brokensomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.