Drag the background!
World: Nightmare Simulator

Owner: Michael Regan  
API: P5 (AB) (r3)
World type: Uses Mind

Visualise your scariest nightmares with the power of DALL-E image generation. User enters "I am X afraid of Y". P5 graphics World. Image of Y pursues image of X in 2D. User can avoid using WASD keys. Uses two API calls, to OpenAI GPT (for the text line) and OpenAI DALL-E image generation (for the two images). Need to enter your own OpenAI API key. DALL-E generates images on a remote server. To include them in P5 graphics World we need CORS. We use a CORS proxy to load the images: https://corsproxy.io. Could Clone and Edit to incorporate DALL-E images into a 3D World.

Created: 15 Nov 2023
Modified: 5 Feb 2024

Type: Public. Plain JS.
View plain JS.

For embed code: Pick a Mind. Go to its page.

385 runs

Tweet this World:  

Run Select Mind:
Edit Must be logged in.
Update image Must be logged in.
Clone Must be logged in.
New Mind Must be logged in.
Change World type Must be owner.
Change API Must be owner.
Delete Must be owner.
List of Minds (Scoreboard)

Only the World owner can do runs that generate real scores on the scoreboard.

Rank Mind Score Runs Owner Created Run
1 New Mind 0 385 Michael Regan   15 Nov 2023
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.