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 108: Barnsley Fern

125.2K views
•
June 21, 2018
by
The Coding Train
YouTube video player
Coding Challenge 108: Barnsley Fern

TL;DR

Learn to code the Barnsley fern fractal in Processing, a British mathematician's inspired challenge.

Transcript

[WHISTLE BLOWS] Hello, and welcome to another coding challenge. Ooh, I'm excited about this one. In this coding challenge, I'm going to attempt to make this fern, the Barnsley fern, named for the British mathematician Michael Barnsley. I encourage you to read this Wikipedia page, which will give you more background on it. What I'm going to do is ju... Read More

Key Insights

  • ❓ The Barnsley fern fractal is a visually captivating pattern inspired by mathematical principles.
  • 🤗 Coding challenges like this offer a hands-on way to understand complex mathematical concepts and algorithms.
  • 🪜 Implementing random transformations and probabilities adds an element of creativity and unpredictability to fractal generation.
  • 😥 Mapping points to the correct coordinate space is crucial for displaying fractals accurately.
  • 🥺 The iterative process of coding and testing different elements leads to the successful creation of intricate fractal patterns.
  • 👨‍💻 Sharing and collaborating on coding projects like the Barnsley fern encourages creativity and innovation within the coding community.
  • 👨‍💻 The coding challenge exemplifies how art, mathematics, and coding intersect in the creation of visually appealing fractal patterns.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: Who is Michael Barnsley, and why is the Barnsley fern named after him?

Michael Barnsley is a British mathematician known for his work in fractal geometry. The Barnsley fern is named after him due to his contributions to the study of fractals and mathematical patterns.

Q: How does the algorithm for creating the Barnsley fern fractal work?

The algorithm involves iteratively applying one of four coordinate transformations to create new points. The coordinates are randomly selected based on predetermined probabilities for each transformation.

Q: What challenges did the creator face while coding the Barnsley fern fractal?

Challenges included correctly implementing coordinate transformations, mapping the points to the proper space, and considering probabilities for selecting transformations. The creator also faced debugging issues to ensure the fractal's proper display.

Q: How can viewers engage with the coding challenge and add their creative touch to the Barnsley fern fractal?

Viewers are encouraged to create their versions of the fractal with different colors, animations, and additional features. They can experiment with varying transformation probabilities, customizing the visual output of the Barnsley fern fractal.

Summary & Key Takeaways

  • The coding challenge involves creating the Barnsley fern fractal, inspired by mathematician Michael Barnsley.

  • The algorithm involves randomly applying coordinate transformations to draw points in a two-dimensional space.

  • By implementing the algorithm in code and considering probabilities, a beautiful Barnsley fern fractal can be generated.


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
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
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
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.