AI-Generated Code, an experiment by Tom Cranstoun

This is a 3d Cube; click, drag and rotate it with the mouse; double-click on a face to go to the url linked.

An experiment in AI, created with the one-shot prompt-

Create and implement the code, styling and readme for a Franklin 6-sided 3D cube named 3dcube, the readme should include the guidance you respond with as text. Each face should contain an image as a href link. The images are placed in the block’s first cell of each table row; the next cell is the link, as an href - use the href as the target. The cube should be rotatable in all directions. The mouse should be rotatable without clicking when it is over the image. Use the double-click action to move to the href page. On page load, place image 1 in the correct position

/fragments/ddt/proposition

Related Articles