processing / processing/p5.js

LaTeX support and equation transformations

Open
#9,121 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request
Dominant language
JavaScript
Stars
24k
Forks
3.8k
Avg merge
3d 16h
Merged PRs (30d)
25

Description

Increasing access

I would like to request support for rendering LaTeX mathematical equations in p5.js.

It would also be very useful to have an API for smoothly transforming one mathematical equation into another, similar to the TransformMatchingTex functionality in Manim.

For example, being able to transform:

x² + y² = 1

into:

y² = 1 - x²

while keeping matching parts of the equations visually connected would make p5.js much more useful for mathematical and educational animations.

I think native or officially supported mathematical typesetting and equation transformations could be useful for people creating educational videos, physics/mathematics visualizations, and other mathematical animations with p5.js.

Most appropriate sub-area of p5.js?
  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)
Feature request details

I don't currently have an implementation; I am suggesting this as a feature that the p5.js community could consider.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by separating the requested LaTeX equation rendering from equation-to-equation transformation and reviewing p5.js's existing rendering and typography capabilities. The issue names no files, tests, or entry points; work is complete only after the scope, API design, and expected behavior for both capabilities are defined and implemented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.