Generative Art using GPT4 #2: 3D fractals

Click for full size, interactive version

There’s a serendipitous quality to experimenting with LLMs.

I was trying to make an interactive model of a Mandelbulb with ChatGPT. Although it didn’t work as intended, it produced something funky. Indeed, for making art their fallibility might be a feature and not a bug.

Here’s a tip for making HTML5 from code generated by LLMs:

  • It will get stuff wrong — frequently things won’t render at all
  • Paste the results into a text file, save as .html, open in Chrome, open the Developer Tools Panel in Chrome
  • If you have any errors they will be listed (see below) paste them into Chat GPT or your LLM of choice. Let it figure out what went wrong.