p5js-block
p5js-block copied to clipboard
Preload method breaks the block
Hello Mark
First, let me thank your for your AWESOME P5JS Plugin! I use it all the time in my blog!
The bug
The preload method apparently breaks the block. It's there, but it's very flat (No Y-Axis).
I used it for this project where I (pre)load a 3D-Model.
I realize that this is not a function many people use, bit I thought I'd report it anyways.
How to reproduce
Create a P5 Block and put a preload method in it. Maybe load something, if needed.
Workaround
I also have found a workaround:
I was able to put loadModel inside setup(). But this violates P5JS recommendations: "loadModel() should be placed inside of preload()."
Info
This is my first bugreport ever on GitHub, I hope it's what you expected and I haven't missed anything.
Please get back to me if you need further information.
Thank you and have a nice day!
Best regards, Johnny
Really good bug report, @johnnyawesome. Thank you! I'll try to find some time to look into this in the near future.