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 #116 Continued: Lissajous Curve Table in p5.js

28.5K views
•
October 4, 2018
by
The Coding Train
YouTube video player
Coding Challenge #116 Continued: Lissajous Curve Table in p5.js

TL;DR

Converting Processing code to JavaScript in real-time for browser-based usage.

Transcript

  • Hello, this is a quick follow-up video from my Lissa Jous Coding Challenge which you can see running here in a 400 X 400 window in processing. What I'm going to do in this video is take all this code, copy in the P5 just web editor, and convert it all to JavaScript. Can I do that in just like 5 minutes, and get it running in canvas and the browse... Read More

Key Insights

  • 👨‍💻 Manual code conversion can be a meticulous but effective approach to retain functionality across different programming languages.
  • 🛃 Utilizing custom functions can streamline the process of adapting data structures and types between languages.
  • 🤙 Attention to detail, such as adjusting syntax and method calls, is crucial for a successful code conversion from Processing to JavaScript.
  • 👨‍💻 Real-time demonstrations provide valuable insights into the challenges and solutions encountered during the coding process.
  • 🤗 Browser compatibility opens up opportunities for sharing and utilizing code across a wider audience.
  • 👨‍💻 The presenter's interactive and engaging approach showcases the practical application of code conversion techniques.
  • 👨‍💻 Experimenting with different methods and tools can enhance the efficiency and accuracy of converting code between languages.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What tools does the presenter use to convert the code from Processing to JavaScript?

The presenter employs a manual approach, copying and pasting code while adjusting syntax and functions to align with JavaScript conventions.

Q: How does the presenter handle differences in data types and structures between Processing and JavaScript?

To address data type variations, the presenter introduces custom functions like "Make 2D array" and adapts array handling methods within the converted JavaScript code.

Q: What challenges does the presenter encounter during the code conversion process?

Challenges include debugging errors such as undefined functions, syntax discrepancies, and adapting object-oriented aspects from Processing to JavaScript constructors.

Q: What final results does the presenter achieve after successfully converting the code to JavaScript?

The presenter successfully generates a browser-compatible version of the original Processing code, demonstrating a functional Lissa Jous pattern in JavaScript with improved performance and visual clarity.

Summary & Key Takeaways

  • The video showcases the process of converting Processing code to JavaScript for browser compatibility.

  • The presenter meticulously translates the code step-by-step, addressing syntax variations between the two languages.

  • The demonstration culminates in a functional JavaScript version of the original Processing code for interactive use in browsers.


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 📚

8.1: Fractals - The Nature of Code thumbnail
8.1: Fractals - The Nature of Code
The Coding Train
Coding Challenge #116: Lissajous Curve Table thumbnail
Coding Challenge #116: Lissajous Curve Table
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
Computer Mouse Conference Demos! (node.js + tensorflow.js) thumbnail
Computer Mouse Conference Demos! (node.js + tensorflow.js)
The Coding Train
Text Generation using Spell with Nabil Hassein thumbnail
Text Generation using Spell with Nabil Hassein
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.