{"version":"1.0","type":"rich","title":"Fork of Sierpinski Triangle","description":"This interactive fractal displays a Sierpinski triangle that divides into recursively smaller subtriangles on an HTML5 Canvas. The branching depth changes dynamically based on mouse position, ranging from zero to ten subdivisions. The code uses the Canvas API’s `getContext` and `fill` methods, with `devicePixelRatio` to ensure sharp rendering on high-resolution displays. Moving the mouse horizontally triggers a `mousemove` event, recalculating depth and redrawing the triangle with `clearRect` and recursive function calls.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e86ec0b5863c4ec99af80e7b6840ad09?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}