Burpy,
Yes you are correct that it would be better to just load the image once. This would probably necessitate doing the other thing that you advocated which was to use a fixed reference for each type.
When writing these tutorials, I'm normally biased towards code clarity, sometimes at the expense of speed and appropriateness.
Yes you are correct that it would be better to just load the image once. This would probably necessitate doing the other thing that you advocated which was to use a fixed reference for each type.
When writing these tutorials, I'm normally biased towards code clarity, sometimes at the expense of speed and appropriateness.