processing / processing/p5.js

[2.0] Additional text alignment options

Open
#7,712 5 comments 0 reactions 2 assignees View on GitHub

@dhowe is already working on this.

Since Nov 27, 2025.

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

Description

Increasing access

Increases readability and text aesthetics over more languages and charsets

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
  • Support JUSTIFIED as horizontal alignment argument (prob via standard dynamic programming algorithm)
  • Support PRETTY and/or BALANCE as arguments to textWrap() as described here

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.