diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-07 16:37:10 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-07 16:37:10 -0800 |
commit | 3ca102f0152f23718b72b35207e9272daf7514c3 (patch) | |
tree | 6ce6e0cabb4eecd46dd2a47e69c2ec49054139e9 /tutorial | |
parent | ad2dd26ed49a5eb721773b376c3f28d1c8dcfcc9 (diff) | |
download | mu-3ca102f0152f23718b72b35207e9272daf7514c3.tar.gz |
tutorial: improve task 14 based on sejo's feedback
Diffstat (limited to 'tutorial')
-rw-r--r-- | tutorial/index.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/tutorial/index.md b/tutorial/index.md index 29f517b6..c19af1ee 100644 --- a/tutorial/index.md +++ b/tutorial/index.md @@ -561,8 +561,14 @@ give yourself a sense of what you can do with them. Does the above program make sense now? Feel free to experiment to make sense of it. Can you modify it to print out the line a second time, after you've typed it -out until the `Enter` key? Can you print a space after every character -(grapheme) when you print the line out a second time? +out until the `Enter` key? Can you print a space after every grapheme when you +print the line out a second time? You'll need to skim the section on +[printing to screen](https://github.com/akkartik/mu/blob/main/vocabulary.md#printing-to-screen) +from Mu's vocabulary. Pay particular attention to the difference between a +grapheme and a _code-point_. Mu programs often read characters in units of +graphemes, but they must draw in units of code-points that the font manages. +(This adds some complexity but helps combine multiple code-points into a +single glyph as needed for some languages.) ## Task 15: generating cool patterns |