DigestAI news desk

Cut through the AI noise.

Generative AI & Models

Simon Willison uses Claude Opus 5.5 to port Three.js code to Vanilla JS

Simon Willison shared a personal experiment inspired by a Hacker News discussion titled "The Web Is More Than Enough" by Paul Ford. Willison created a 3D Nudibranch themed Faberge Egg using Three.js, resulting in a 77KB file.

1 source

Key points

  • Simon Willison created a 77KB Three.js Nudibranch Faberge Egg.
  • Claude Opus 5.5 Medium ported the project to a 98KB Vanilla JS version.
  • Willison found the Three.js code slightly easier to understand than the Vanilla JS port.

He then asked Claude, specifically the Opus 5.5 Medium model running in regular Claude Chat, to port the project to Vanilla JS within the same conversation thread.

The resulting Vanilla JS + WebGL version was 98KB. Willison noted that the two versions are not identical, referencing a transcript where Claude explained the differences, though Willison stated he did not fully understand why the code differed. He observed that the Three.js version was slightly easier for him to understand, but noted that he rarely inspects the code for such 3D projects. The experiment demonstrated that Claude Opus 5.5 is capable of handling 3D modeling in Vanilla JS without the Three.js library.

Read the original at Simon WillisonOpen source ↗
Topics · follow one to build your own front page
Claude Opus 5.5 MediumThree.jsSimon WillisonPaul Ford

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Generative AI & Models

All →

Related stories