Run Without Screen Refresh

WOW! This is is a crazy speed-up for animated fractals!!

Are you talking about the Snap with your new Morphic or we can try and see this speed-up in the existing Snap, as well?

We should thank dardoro for identifying the problem.

this is going to be in the next major release I'm currently working on :slight_smile:

Can you make a video so we can watch a sped-up fractal animation, please?

absolutely, @dardoro, excellent analysis, as always with your contributions. Awesome to have folks like you watch over us. Thank you!

You're welcome ...

so now raycasters will display 8 columns instead of the usual 4?

I made a remix of Your project


It renders the entire scene with 60 degree FOV at 5 FPS (because of hard work done).

Your original project, prematurely starts "Rendering" right after begin of "Scan" phase with almost empty "Distances" list so wrong image displayed.

There is a workaround for the current Snap release.
Loop with procedure warped this way works at full speed.

untitled script pic

untitled script pic (3)

I tried this. Thanks for trying, but it still doesn't work.

There is a slightly modified version of Your project.


The screen is updated every n-th game loop iterations. For n=2 perceived performance is quite good, for 4 insane.

forever{
  warp{
      repeat(2){
        game loop iteration
     }
  }
}

Sorry, project URL updated.

Ok. More real code for you, @dardoro.

untitled script pic (6)