Drag the background!
World: Code Studio

Owner: Sarthak Sethi  
API: Webpage (r2)
World type: No Mind

Generate and visualize Three.js code and images. Need to enter your own OpenAI API key. Two modes: (1) Generate code. Enter request for code to build some graphics. Calls OpenAI GPT API to ask for Three.js code. Parses return code and displays Three.js scene inline. "Copy code" button. (2) Generate images. Calls OpenAI DALL-E image generation API. Gets 5 images. DALL-E generates images on a server and web page can include them directly. "Open Full" to open in new tab. Switch between two modes and the output is still there in the other mode.

Created: 2 Dec 2023
Modified: 11 Sep 2024

Type: Public. Plain JS.
View plain JS.

Get Embed code.
Get New window embed code.
Get Autorun embed code.

331 runs

Tweet this World:  

Run
Edit Must be logged in.
Update image Must be logged in.
Clone Must be logged in.
New Mind Only valid for Worlds that use Minds.
Change World type Must be owner.
Change API Must be owner.
Delete Must be owner.
The background is a program, showing the JavaScript graphics used on this site.
The globes light up when you log in.
 
Font:

Users retain ownership of user content.

Platforms      Stats      The name      Terms and conditions

Call for partners      Contact

Call for partners!
Ancient Brain is looking for a partner to co-write a JavaScript coding book for schools, to be used worldwide. This would be a course for students in learning to code from scratch. The book and course will be integrated into the Ancient Brain site. This is an opportunity for someone looking to develop a course and textbook to partner with a site to promote it. Read more.