CodingTrain / CodingTrain/Suggestion-Box
Wandering Letters word-wrapping
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 570
- Forks
- 85
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Keine Repository-Datei, kein Test und kein Einstiegspunkt werden genannt. Lies zuerst das verlinkte Paper des Viewpoint Research Institute und prüfe anschließend den verlinkten p5.js-Sketch und das Video; definiere vor der Implementierung die vorgesehene Behandlung durch Coding Train und die Abnahmekriterien.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- computer-graphics
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 20/100