Welcome to p5.js
But before I make the really awesome stuff, it appears I’m going to be making weird faces out of sandwich parts.
We were told to make a drawing of anything and I wouldn’t say making this sketch was difficult, but it could definitely be slow for me at times. The editor itself is easy to use and the p5.js reference page is great as well; but going back and forth between the two made for a slow process. There were also lots of things I knew I should have been able to do in theory but couldn’t quite figure out how to make work yet (I’m still wrapping my head around translate and rotating the canvas vs. the shape…) so I think I lost a lot of time to just playing around with things that weren’t quite successful.
Check out the actual code here.
I wanted seeds around the inside of my tomato but am still trying to figure out the function to do so easily (instead of making 16 individual ellipses). I also had to keep reminding myself that the holes in my cheese weren’t ACTUAL holes, making it difficult to create anything behind there .
I did eventually make myself rulers (later commented out) which helped make my original guess and check method of placement a little more exact; but in the future I think it will be wise to draw out an actual plan first instead of relying only on an image I’ve thought up. Overall this was fun! Frustrating fun… And I look forward to getting better.