processing / processing/p5.js

Add typography benchmark tests for textToPaths()

Open
#8,969 4 comments 0 reactions 1 assignee View on GitHub

@Ayush4958 is already working on this.

Since Jul 16, 2026.

Area:Typography Enhancement
Dominant language
JavaScript
Stars
24k
Forks
3.8k
Avg merge
3d 16h
Merged PRs (30d)
25

Description

Increasing access

Unsure

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 enhancement details

Continuing the work from #8918.
For p5.js 2.x, add an additional test suite for textToPaths().

The tests cases should use the same test strings as the textToPoints() benchmarks. Since there is no sampleFactor parameter, we need to think about how to gauge performance across the textTo___ functions.

Test coverage must include the following renderers:

  • 2D
  • WebGL
  • WebGPU

Please add @shakeelmohamed as a reviewer to any related PRs.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.