Drag the background!

Step 8. 3D Custom Shapes

Daniel Shiffman gets started on how to define your own shape.

Click to run the World. A texture is drawn on a custom shape that rotates. The camera moves as the mouse moves left to right.

This ends the WebGL course. Thanks to Daniel Shiffman and The Coding Train for their wonderful videos.

For what to code next, check out the Starter Worlds and Editor's Choice Worlds on Ancient Brain for inspiration. You can Clone and Edit all these Worlds. Happy coding!

World

Tutorial 18.8
3D Custom Shapes
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 or Python 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.