I have been working through Elm in Action and I just finished Chapter 5. I am using elm-live src/PhotoGroove.elm --open --start-page=index.html -- --output-elm.js to run the application currently. I have an issue that is supposed to be fixed via the following line of code: https://github.com/chiroptical/elm-in-action/blob/master/chapter5/initialize.js#L7. When you run the application the initial canvas is never drawn (
). I have to click a button or move a slider for images to appear. I tried various things from some other posts, like adding a time-out or another requestAnimationFrame, however that didn’t seem to do anything. I also looked at Richard’s code at https://github.com/rtfeldman/elm-in-action and it doesn’t contain this function. I am a bit unsure about how to solve this. Any help is appreciated!