RealityBending / Pyllusion

A Parametric Framework to Generate Visual Illusions using Python
https://realitybending.github.io/Pyllusion/
MIT License
57 stars 9 forks source link

Fixed Delboeuf #17

Closed DominiqueMakowski closed 1 year ago

DominiqueMakowski commented 1 year ago

For the record, the latest update (4ee0c33cdc3b655fb6bdf1171e51596f8ea024ea) changed the behavior of Delboeuf illusion to prevent an artifact where the difficulty at illusion strength of 0 is easier than it should due to the presence of the outlines that make the difference easier to spot

Past behavior:

ill.Delboeuf(illusion_strength=-1.8, difference=1.40).to_image(width=800, height=600)

Delboeuf_Demo

New behavior:

ill.Delboeuf(illusion_strength=-1.8, difference=1.40).to_image(width=800, height=600)

image