Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Story
How we grew from 0 to 3 million users
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

Coding Train Live 109: WebGL with p5.js

15.2K views
•
December 13, 2017
by
The Coding Train
YouTube video player
Coding Train Live 109: WebGL with p5.js

TL;DR

Learn how to create 3D shapes with WebGL in p5.js, add lights and materials for realistic effects.

Transcript

good morning Tuesday morning a rare and special bonus episode of the coding train my name is something like rhymes with fan and something like that I'm here this is I'm saying bonus episode it's not really a bonus episode it's a little bit of a make up episode I am trying to make a commitment to doing a live stream per week one per week that's abou... Read More

Key Insights

  • 👶 WebGL enables 3D graphics rendering in p5.js, offering a new dimension to creative coding projects.
  • 🙂 Materials and lights play crucial roles in adding realism and visual effects to 3D shapes in the browser.
  • 🙂 Understanding normal vectors, ambient light, and point lights enhances the depth and visual appeal of 3D scenes.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is the significance of normal vectors in 3D geometry?

Normal vectors define the direction of the surface and dictate how light reflects off an object for realistic shading effects.

Q: How does ambient light differ from point light in 3D rendering?

Ambient light uniformly illuminates all objects in the scene, while point lights emit light from a specific location, creating shadows and highlights.

Q: Can multiple light sources be used simultaneously in p5.js for 3D shapes?

It appears there may be limitations in the current p5.js version, where only one light source can affect the 3D scene.

Q: What role does specular material play in rendering realistic 3D objects?

Specular material enhances the shininess of objects by reflecting light in a specific direction, mimicking surfaces like metal or water.

Summary & Key Takeaways

  • Introduced 3D geometry basics in p5.js, showcasing shapes like a torus and a sphere.

  • Demonstrated the use of material to manipulate object colors affected by light sources.

  • Explored point lights for creating realistic shadows and specular materials for shinier surfaces.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from The Coding Train 📚

How to Create Fractal Patterns with Toothpicks thumbnail
How to Create Fractal Patterns with Toothpicks
The Coding Train
8.1: Fractals - The Nature of Code thumbnail
8.1: Fractals - The Nature of Code
The Coding Train
Coding Challenge #116: Lissajous Curve Table thumbnail
Coding Challenge #116: Lissajous Curve Table
The Coding Train
ITP/IMA Winter Show 2018 thumbnail
ITP/IMA Winter Show 2018
The Coding Train
Computer Mouse Conference Demos! (node.js + tensorflow.js) thumbnail
Computer Mouse Conference Demos! (node.js + tensorflow.js)
The Coding Train
9.4: Genetic Algorithm: Looking at Code - The Nature of Code thumbnail
9.4: Genetic Algorithm: Looking at Code - The Nature of Code
The Coding Train

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots
  • Open Graph Checker

Company

  • About us
  • Our Story
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.