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 #8: Solar System in Processing - Part 2 (3D)

111.9K views
•
May 2, 2016
by
The Coding Train
YouTube video player
Coding Challenge #8: Solar System in Processing - Part 2 (3D)

TL;DR

Transforming a 2D solar system into 3D with spheres, orbits, and rotations.

Transcript

Welcome to part 2 of my Solar System Simulation Generator thing a mabob. So this has turned into a multipart series. I'm probably going to do one or two more. But this part, what I'm going to do, is take this 2D solar system orbiting thing and turn it into 3D. So instead of circles, we're going to have spheres. Instead of rotating just around in a ... Read More

Key Insights

  • 🛰️ Introducing 3D visualization with spheres and orbits enhances the solar system simulation's realism.
  • 👨‍💻 Considerate adjustments to planet sizes and distances improve the visual layout and balance in the code.
  • 👻 PeasyCam library enriches the interactive experience by allowing users to navigate and explore the 3D simulation.
  • 😵 Cross products play a crucial role in determining perpendicular vectors for rotational movements in the solar system simulation.
  • 🪐 Future plans involve adding textures to planets and enhancing the visual aesthetics for a more space-like feel.
  • 🥮 Random placement of planets and moons in the 3D simulation creates an intricate and dynamic solar system design.
  • 🤗 The speaker's hands-on approach and experimentation with code demonstrate practical techniques for building a 3D solar system generator.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: How does the speaker plan to transition the 2D solar system into a 3D simulation?

The speaker intends to replace circles with spheres, introduce orbits in three dimensions, and improve visual elements like lighting to simulate a realistic solar system in 3D space.

Q: What modifications are being made to the planet sizes and distances in the code?

The speaker is revising the code to ensure more thoughtful selection of planet sizes and distances from the objects they orbit, aiming for a more visually appealing and balanced layout within the solar system simulation.

Q: How is PeasyCam library utilized in the video?

PeasyCam library is used to add interactive mouse controls for camera movement in the 3D simulation, allowing users to pan, zoom, and navigate the scene for a more immersive experience.

Q: What is the purpose of implementing cross products in the code?

Cross products are utilized to calculate perpendicular vectors, enabling the planets to rotate around specific axes in the solar system simulation, adding a layer of complexity and realism to their orbital movements.

Summary & Key Takeaways

  • Transitioning from a 2D solar system to a 3D simulation with spheres and orbital rotations.

  • Improving planet sizes and distances in the code for a more thoughtful layout.

  • Utilizing PeasyCam library for interactive 3D visualization and implementing orbital rotations with cross products.


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