ScratchData LogoScratchData
Back to Cub56's profile

Run Length Encoding

CUCub56•Created February 23, 2016
Run Length Encoding
4
1
88 views
View on Scratch

Instructions

Click the green flag to randomly generate the image. The project will use run length encoding to compress the 8 squares in each line of the image. The first number is the number of white (blank) squares from the left, then the next is black, alternately until the end. Click See Inside to see how it works! ^^^

Description

This was for something we were doing in Computing in school. Note it will take 21 seconds to compress because the scripts are quite long and it takes a few seconds to run each script individually without interference.

Project Details

Project ID98947935
CreatedFebruary 23, 2016
Last ModifiedMay 9, 2016
SharedFebruary 28, 2016
Visibilityvisible
CommentsAllowed