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 #134.1: Heart Curve

80.0K views
•
February 18, 2019
by
The Coding Train
YouTube video player
Coding Challenge #134.1: Heart Curve

TL;DR

Creating heart shapes using mathematical formulas and parametric equations with Processing.

Transcript

(train horn tooting) - I love you! (laughs) I'm here to make some mathematical hearts, look at these formulas, if you plot these formulas, you get a heart, I mean what could be better than that? This one here might be my favorite, although this one here is kind of interesting, look at this. So we could try any of these, but I actually want to try s... Read More

Key Insights

  • 🥰 Parametric equations can be used to visually represent complex shapes like hearts.
  • 👻 Manipulating trigonometric functions allows for customizing the appearance of geometric patterns.
  • 😥 The animation of shapes in Processing involves iterative updating of points to create motion.
  • 😑 Mathematical concepts can be intertwined with artistic expression to create unique visual representations.
  • 👨‍💻 The speaker emphasizes creativity and experimentation in coding projects.
  • ✊ Different parameters like frequency and power can dramatically alter the visual outcome of shapes.
  • 🥰 The heart shape is a versatile form that can be represented in various ways using mathematical formulas.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: How does the speaker create heart shapes using parametric equations?

The speaker uses trigonometric functions like cosine and sine to generate the x and y coordinates of points on a circular path, forming the heart shape.

Q: What techniques are employed to customize the heart shape?

Techniques such as modifying the power of trigonometric functions and adjusting frequency parameters are used to tweak the shape of the heart according to specific design preferences.

Q: How is the animation of the heart shape achieved in Processing?

By updating the angle incrementally in a loop and adding new points to the heart shape in each frame, an animation of the heart being drawn is created.

Q: What challenge is issued to viewers at the end of the video?

Viewers are encouraged to experiment with different formulas and create their own variations of heart shapes using mathematical concepts, possibly exploring the idea of 3D hearts.

Summary & Key Takeaways

  • Using parametric equations, the speaker demonstrates how to create heart shapes graphically.

  • Different formulas and techniques are explored to customize the heart shape.

  • The tutorial concludes with an animation of a heart shape being drawn using code.


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 📚

ITP/IMA Winter Show 2018 thumbnail
ITP/IMA Winter Show 2018
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
Coding Challenge #116: Lissajous Curve Table thumbnail
Coding Challenge #116: Lissajous Curve Table
The Coding Train
Coding Challenge #126: Toothpicks thumbnail
Coding Challenge #126: Toothpicks
The Coding Train
Text Generation using Spell with Nabil Hassein thumbnail
Text Generation using Spell with Nabil Hassein
The Coding Train
Classifying Poses with ml5.js Part 2 thumbnail
Classifying Poses with ml5.js 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.