Procedural Vines Demo

This application features a WebPPL program which generates random 2D vine-like structures. It uses WebPPL's inference capabilities to constrain the program's output to match a target shape. Check out this research paper and this video to learn more about how it works.

Click "Generate" to run the program. Use the radio buttons to toggle rendering styles. Use the dropdown menu below the "Target Shape" image to change which target shape is used.

Target Shape

Use Target:  

Result

    Vines   Lightning