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 Story
How we grew from 0 to 3 million users
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 #74: Clock with p5.js

493.8K views
•
September 20, 2017
by
The Coding Train
YouTube video player
Coding Challenge #74: Clock with p5.js

TL;DR

Learn how to use p5.js to create a custom clock that visually represents the time in a creative way.

Transcript

tick tock tick tock goes the clock anyway this is a coding challenge where I am going to make a very simple very basic clock in p5 GS why am i doing this well if you are beginning to learn about programming and learn about graphics and animation a great exercise that you can do that can really even really express your creativity with is invent a ne... Read More

Key Insights

  • 🏃 Creating a clock in p5.js is an excellent exercise for beginners to learn programming, graphics, and animation.
  • 💁 The p5.js library provides helpful functions to retrieve the current time information.
  • ⏲️ Visualizing the time using creative shapes and designs can add an artistic touch to the clock.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What is the purpose of creating a clock in p5.js?

Creating a clock in p5.js is a great exercise to learn programming, graphics, and animation, while also allowing for creative expression.

Q: How can I get the current time information in p5.js?

p5.js provides functions to get the current hour, minute, and second, which can be easily accessed using the "hour()", "minute()", and "second()" functions.

Q: Can I create different visual representations for the hour, minute, and second hands?

Yes, the video demonstrates using arcs to create different shapes for each hand, but you can also experiment with other creative visuals.

Q: Are there any resources for inspiration or examples of clocks created with p5.js?

The video provides links to John Maeda's 12 o'clock project, clocks made by other users on CodePen, and a GitHub page where you can submit your own clocks.

Summary & Key Takeaways

  • The video introduces the idea of creating a new and imaginative way of showing time using p5.js.

  • Examples of John Maeda's 12 o'clock project and clocks made by other users are provided as inspiration.

  • The video demonstrates how to use p5.js to create a basic digital clock and then explores using arcs to visualize the time.


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
Text Generation using Spell with Nabil Hassein thumbnail
Text Generation using Spell with Nabil Hassein
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
ITP/IMA Winter Show 2018 thumbnail
ITP/IMA Winter Show 2018
The Coding Train
How to Create Fractal Patterns with Toothpicks thumbnail
How to Create Fractal Patterns with 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
  • Open Graph Checker

Company

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

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.