ScratchData LogoScratchData
Back to Tutor-42's profile

Wow by Scratch-Minion - Turbo Mode Demo

TUTutor-42•Created September 12, 2019
Wow by Scratch-Minion - Turbo Mode Demo
3
1
18 views
View on Scratch

Instructions

A Turbo Mode demonstration. (Explanation below). * Green Flag. You will see the lines of the picture being drawn very slowly from the bottom of the stage. Either wait 96 minutes to see the complete picture, or * Switch to Turbo Mode! (Hold the <Shift> key and click the Green Flag again) * 9 seconds to see the picture - that's better! Explanation ---------------- The project calculates the color of each of the 172,800 pixels (dots) for the picture on the screen using the same complex one line formula. This project is particularly suited to run in Turbo Mode to draw the picture as fast as possible. In Turbo Mode, Scratch does not pause to update the screen after each pixel color is set, nor after a full row of pixels is drawn in the custom block Draw Row. Scratch calculates the colours for as many pixels as it can within 1/30th second, then updates the screen. This tutorial gives a fuller explanation of Turbo Mode: https://scratch.mit.edu/discuss/post/3680379/

Description

** This project by @Scratch-Minion was made for the "1 Line Challenge" on Scratch. * I am using this copy of his project as an example of when to use Turbo Mode as part of this tutorial: https://scratch.mit.edu/discuss/post/3680379/ Extra Notes on Project Speed. Changing Draw Row to a "run without screen refresh" custom block speeds up the run time to 12 seconds on my computer (almost as good as Turbo Mode). Changing Draw Row to a "run without screen refresh" custom block AND using Turbo Mode gives the fastest run time of 7 seconds on my computer. (Draw Row was defined with "run without screen refresh" in Scratch-Minion's 1 Line Challenge project).

Project Details

Project ID328449188
CreatedSeptember 12, 2019
Last ModifiedSeptember 15, 2019
SharedSeptember 15, 2019
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root