{"version":"1.0","type":"rich","title":"Gist 86179473bda6d64aa4af","description":"The visualization demonstrates a custom Swift class that maintains synchronized side lengths between a triangle and a square through property observers. It shows how `willSet` observers on each shape’s properties update the counterpart’s dimensions, ensuring the two shapes remain geometrically linked. The code uses Swift’s native property observation and custom classes for the shapes, with an initializer that sets both shapes to the same size. A test sequence then changes the square’s side length, triggering an automatic update to the triangle’s side length.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-86179473bda6d64aa4af?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}