Fun with #ChatGPT

Or, how quickly can you mock up a demo in ChatGPT?

The morning of my presentation for DevFest 2022, a friend of mine shared that gif on Facebook. I was curious as to how quickly I could build something like that in ChatGPT.

I literally prompted my way to success, in a few, somewhat poorly worded commands:

  1. Using threejs create a 3d animation of a mobius wheel. Give me a sample of this look like in code. Let the rotation to occur within the frame of the browser window. rotate around the center of the renderer, reduce the size of the strip to be 60% of the screen, make the line color silver.
  2. Change the texture of the strip to be transparent
  3. Make the texture of the strip be like a wire mesh
  4. Embed within the strip glowing stars
  5. Combine this code with the previous mobius strip code
  6. Don’t rotate the whole scene, only rotate the strip, make the stars blink, make the strip have a mesh texture

Eventually, it led to this.

Which, LOL, rotates the entire scene, as opposed to just the wheel. But gosh, was it fun.

With a few more prompts, I expect I could get the wheel to spin, instead of the whole world 🌍.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s