Skip to content

Default background color is black instead of (204, 204, 204) #134

@SableRaf

Description

@SableRaf

When no background() call is made, the default canvas background in mewnala is black.

Expected behavior

The default background should be (204, 204, 204), matching Processing’s behavior.

Actual behavior

The canvas defaults to black.

Reproduction (mewnala)

from mewnala import *

def setup():
    size(200, 200)

def draw():
    pass

run()
Image

Equivalent Processing sketch (expected behavior)

void setup() {
  size(200, 200);
}

void draw() {
}
Image

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