Apropos of nothing I present to you my Dancing Polygons!
This afternoon I asked ChatGPT to help me create interactive polygons from an isometric grid that I had created using turf.js. I wanted to give a click event to each diamond polygon shape in the isometric grid. However ChatGPT had other ideas and instead decided to create a series of irregular polygon shapes by connecting random intersections of my isometric grid.
I would have been disappointed except for the fact that I really liked the resulting pattern. So instead of asking ChatGPT to correct its mistake I decided to embrace the glitch and create Dancing Polygons. Every second this map (although there are no map tiles) creates a number of randomly shaped and colored polygons from an underlying isometric grid.
I am not exactly sure why but I have also added the option to listen to a really annoying tune while you watch my dancing polygons (although it is much better in silent mode).
Комментариев нет:
Отправить комментарий