Summary
The draw-a-cat project works locally, but does not load correctly in the Raspberry Pi code editor preview when the sketch uses cat.png.
Project:
https://editor.raspberrypi.org/en/projects/draw-a-cat
Actual behaviour
In the editor preview:
- the page shows
Waiting to load cat.png...
- the sketch stays stuck on
Loading...
- the image is not rendered
Expected behaviour
The project should load cat.png and render the sketch in the editor preview, the same way it does locally.
Evidence
Attached screenshots show:
- editor preview stuck loading
- local version loading successfully and rendering the cat image
Reproduction
- Open the
draw-a-cat project in the editor
- Run the preview
- Observe that the image does not load and the sketch does not complete startup
Summary
The
draw-a-catproject works locally, but does not load correctly in the Raspberry Pi code editor preview when the sketch usescat.png.Project:
https://editor.raspberrypi.org/en/projects/draw-a-cat
Actual behaviour
In the editor preview:
Waiting to load cat.png...Loading...Expected behaviour
The project should load
cat.pngand render the sketch in the editor preview, the same way it does locally.Evidence
Attached screenshots show:
Reproduction
draw-a-catproject in the editor