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 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 110: WebGL with p5.js Continued

12.5K views
•
December 15, 2017
by
The Coding Train
YouTube video player
Coding Train Live 110: WebGL with p5.js Continued

TL;DR

This video tutorial explores the use of materials, lights, and textures in p5.js, showcasing how to apply different materials to shapes, use different types of lights, and apply textures from images or videos to 3D objects.

Transcript

I'm loading slowly very very very slowly please place your corners into the slots so I can load more quickly more corners super chat pay speed up my buffering all right yeah I could spend more time working on that and rehearsing that but here I am it is me dan Schiffman on a special Thursday coding train hopefully coming out to you at regular norma... Read More

Key Insights

  • 🙂 Materials in p5.js determine how 3D objects react to light, allowing for the creation of a variety of visual effects.
  • 🙂 Different types of lights, such as ambient, point, and directional lights, can be used to add lighting to 3D scenes in p5.js.
  • 👻 Textures from images or videos can be applied to 3D objects in p5.js, allowing for the creation of more detailed and realistic visuals.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: How do materials affect the appearance of 3D objects in p5.js?

Materials in p5.js determine the behavior of 3D object surfaces when light shines on them. They define how the object reflects or absorbs light, leading to different visual effects.

Q: What types of lights can be used in p5.js?

p5.js supports three types of lights: ambient, point, and directional lights. Ambient lights provide a general wash of light in all directions, while point and directional lights have specific positions and directions from which they shine.

Q: Can textures from images or videos be applied to 3D objects in p5.js?

Yes, textures can be applied to 3D objects in p5.js, allowing you to wrap an image or video around the object's geometry. This creates a more realistic or visually interesting appearance.

Q: How can lights and materials be combined to create different visual effects?

Different combinations of lights and materials can be used to create a wide range of visual effects. For example, using a specular material with a point light can create a shiny, metallic look, while combining ambient and directional lights can produce interesting shadowing effects.

Summary & Key Takeaways

  • The video starts with an introduction to materials in p5.js, explaining how they affect the appearance of 3D objects when light shines on them.

  • The concept of lights is then introduced, including ambient, point, and directional lights, and how they interact with materials to create different effects.

  • The video also demonstrates how to apply textures from images or videos to 3D objects, showing how the texture is wrapped around the object's geometry.


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 📚

Decade of Code Fundraiser (Celebrating 10 years of Processing Foundation Fellowships!) thumbnail
Decade of Code Fundraiser (Celebrating 10 years of Processing Foundation Fellowships!)
The Coding Train
Coding Train Live 182: Introduction to RunwayML thumbnail
Coding Train Live 182: Introduction to RunwayML
The Coding Train
ITP/IMA Winter Show 2018 thumbnail
ITP/IMA Winter Show 2018
The Coding Train
Coding Challenge #158: Shape Classifier Neural Network with ml5.js thumbnail
Coding Challenge #158: Shape Classifier Neural Network with ml5.js
The Coding Train
12.2: Using Express with Node - WebSockets and p5.js Tutorial thumbnail
12.2: Using Express with Node - WebSockets and p5.js Tutorial
The Coding Train
Coding Challenge 51.2: A* Pathfinding Algorithm - Part 2 thumbnail
Coding Challenge 51.2: A* Pathfinding Algorithm - Part 2
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

Company

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

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.