Spec 2 comments
This lab took me about ~1 hour 15 min, but most of my time was spent figuring out why rotation didn't work(I didn't have the transpose changes) and not realizing that the characters were stored in little endian format in the image. Here's my feedback:
- The example code to iterate through a 2d array uses the syntax
array.length[0]
which should bearray[0].length
- I think the phrasing "snake through the array" in the description for
decodeText()
is a bit misleading. For some reason, I thought this meant go right to left on the first row, left to right on the second, and so on. I think it would be much simpler just to say "iterate through the array" - It took me a while to realize that the characters are stored in little endian format (least significant bit first) in the image, and I think it would help if the spec mentioned that, because it wasn't super obvious to me at first that I would have to flip bit ordering (why is it stored in this order in the first place?)
- This is pedantic, but the description of
transpose()
should say "which is a reflection of," not "which is a reflect of"
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information