Skip to content

Background Alpha #1906

@Crashnorun

Description

@Crashnorun

Hi, I'm new to P5 but familiar with Processing, and this issue seems to be existent in both environments. When I use the background() command and apply an alpha, the value doesn't really do anything. According to this link: https://p5js.org/reference/#/p5/background the alpha value is meant to be between 0-100 and apply a level of transparency, but it doesn't seem to work. Regardless what value I put for alpha, I can never get transparency. My workaround for this was to just draw a rectangle in the back and give it a fill color with an alpha value. This issue isn't a priority but would be nice to have it functioning.

All in all great job, P5 & processing are amazing!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions