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 Challenge #86: Cube Wave by Bees and Bombs

626.5K views
•
December 28, 2017
by
The Coding Train
YouTube video player
Coding Challenge #86: Cube Wave by Bees and Bombs

TL;DR

Recreating a geometric illusion gif in p5.js using WebGL renderer.

Transcript

all right this is my first coding challenge that I'm going to attempt in JavaScript using 3d rendering I am currently working on a set of tutorials about WebGL in p5.js I will link to those from this coding challenges video description but I bees and bombs on Twitter I highly recommend if you're interested in looking for like really geometric algor... Read More

Key Insights

  • 👨‍💻 The challenge explores the transition from 2D to 3D rendering through JavaScript coding.
  • 👨‍💼 Use of the sine function enables smooth oscillating behavior for animations.
  • ❓ Isometric perspective and orthographic projection techniques are essential in achieving visually accurate 3D renderings.
  • 💨 Optimization of code for faster rendering performance is crucial for efficient WebGL applications.
  • 🖐️ Lighting and perspective adjustments play a significant role in enhancing the visual appeal of 3D animations.
  • 👨‍💻 Experimentation with different angles and speeds offers creative possibilities in coding 3D scenes.
  • 💨 Challenges in coding pave the way for learning opportunities and skill development in programming.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is the challenge in the coding video?

The challenge involves recreating a geometric gif using WebGL in p5.js, transitioning from 2D to 3D rendering.

Q: How does using the sine function help create oscillating behavior in the initial 2D work?

By utilizing the sine function, the challenge achieves smooth up-and-down oscillations, reminiscent of harmonic motion in physics.

Q: What adjustments were made to the code to create a grid of oscillating boxes in an isometric perspective in 3D?

The offset and distance calculations were utilized to create an angular offset for each box, resulting in a grid of oscillating boxes in a visually appealing isometric view.

Summary & Key Takeaways

  • Coding challenge in JavaScript aims to recreate a geometric gif using WebGL in p5.js.

  • Initial work in 2D establishes oscillating behavior with the sine function for smooth motion.

  • Transitioning to 3D, the challenge involves creating a grid of oscillating boxes in an isometric perspective.


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 📚

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
ITP/IMA Winter Show 2019 thumbnail
ITP/IMA Winter Show 2019
The Coding Train
Computer Mouse Conference Demos! (node.js + tensorflow.js) thumbnail
Computer Mouse Conference Demos! (node.js + tensorflow.js)
The Coding Train
Classifying Poses with ml5.js Part 2 thumbnail
Classifying Poses with ml5.js Part 2
The Coding Train
8.1: Fractals - The Nature of Code thumbnail
8.1: Fractals - The Nature of Code
The Coding Train
Coding Challenge #126: Toothpicks thumbnail
Coding Challenge #126: Toothpicks
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.