CodingTrain / CodingTrain/Suggestion-Box

Wandering Letters word-wrapping

Aperta
#1,702 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
570
Fork
85
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

This paper from the Viewpoint Research Institute describes an interesting set of rules for making a text editor: http://www.vpri.org/pdf/m2010002_lobjects.pdf

I've long been a fan of the coding train and Some text formatting/typography stuff would be really great. It's something that we all take for granted but is much more complicated than it seems on the surface.

The first few rules in that paper describe word-wrapping text. It treats the characters almost as particles in their own right, they 'want' to be in paragraphs and so arrange themselves that way. It's fun to think about that.

I made a video of making this text-wrap algorithm work in p5.js, but at the time I didn't have the full paper. https://www.youtube.com/watch?v=A5B-Ro7ff2o

My sketch is here, but I'd really like to see a coding train treatment: https://editor.p5js.org/techbelly/sketches/Xzy4oNwtY

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

No repository file, test, or entry point is named. Read the linked Viewpoint Research Institute paper first, then inspect the linked p5.js sketch and video; define the intended Coding Train treatment and acceptance criteria before implementation.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript
Ambito
computer-graphics
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
20/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.