Students will be able to:
|20||Engage||Activity||Code Comment Challenge|
|10||Study||Lecture||Immediate vs Retained Mode|
|60||Activate||Activity||Group Code Challenge|
<aside> 🧟 Add your two questions below, include your name!
Last semester, I could never figure out how to have a linebreak in Paper.js text preserved when I download as .svg and import elsewhere. I tried all the linebreak encodings I could think of and also messing with the svg directly. Any thoughts?
hmm, without doing any looking into this at all... if the svg export is eating \\n newlines, i'd first open up the svg in an editor, and put one in manually and the open that in a vector program like illustrator. This step would determine if there is some limitation with svg or if it is a problem with paper's export. If the latter maybe you could try a unicode sequence? <https://www.loginradius.com/blog/async/eol-end-of-line-or-newline-characters/#:~:text=LF%20>(character%20%3A%20%5Cn%2C,'%20or%20'Newline%20Character'. a super hack, but you could try putting in a custom control character like "^" exporting the svg, and then post processing to turn them into newlines.