Kneelawk/fractal-rs

Fractal views are initialized with garbage pixels

Opened this issue · 1 comments

The Issue

Currently, no attempt is made to clear fractal view images when they're first initialized or between generation steps. This means that opening a new tab may present the user with a view filled with garbage data, usually of a fractal recycled from a previous fractal image.

Possible Fix

Fractal view images should be initialized cleared to make sure they do not contain any garbage data. There should also be an option to clear the view before every time a fractal is generated.

One way to implement this is to simply have a custom render pass specifically for clearing textures before they're drawn to the UI.