CodingTrain / CodingTrain/Suggestion-Box
Wandering Letters word-wrapping
- 主要言語
- 言語のデータがありません
- スター
- 570
- フォーク
- 85
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
リポジトリのファイル、テスト、エントリーポイントのいずれも指定されていません。まずリンクされた Viewpoint Research Institute の論文を読み、次にリンクされた p5.js のスケッチと動画を確認してください。実装前に、想定される Coding Train の扱いと受け入れ基準を定義してください。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- computer-graphics
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100