Skip to content

Reaction diffusion not working on Processing 3.5.3 #34

Description

@micuat

I found that reaction diffusion does not work on Processing 3.5.3 (does not give errors in console, but it only shows blank white screen).

I recently updated Processing - when I open 3.3.7, reaction diffusion works fine - but with 3.5.3, it doesn't give any output. I guess any of

    // init
    tex_render = (PGraphics2D) createGraphics(width, height, P2D);
    tex_render.smooth(0);
    tex_render.beginDraw();
    tex_render.textureSampling(2);
    tex_render.blendMode(REPLACE);
    tex_render.clear();
    tex_render.noStroke();
    tex_render.background(0xFFFFFFFF);
    tex_render.fill      (0x0000FF00);
    tex_render.noStroke();
    tex_render.rectMode(CENTER);
    tex_render.rect(width/2, height/2, 20, 20);
    tex_render.endDraw();

this is not applied to the buffer at all.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions