Trending
ABUAD, ISN partner to boost neuroscience research in Africa is trending now Greece reports 65 West Nile virus cases, 6 deaths is trending now Africa CDC and WHO call for urgent, community-led action to contain Ebola in the DRC is trending now New quantum microscopy trick quadruples microscope resolution is trending now South Korea space agency shares Moon images after SpaceX rocket debris crash is trending now NASA urges US residents to watch August 12’s total solar eclipse is trending now Cocoa Pod Waste Could Provide a Sustainable Concrete Retarder is trending now Major transfer twist: Rodri agrees to join Barcelona, rules out Real Madrid is trending now Rangers, Rivers United face Sobemap, San Pedro in CAF CL qualifiers is trending now WAFCON 2026: 3 quarter-final fixtures confirmed is trending now Vinicius Jr extends Real Madrid deal to 2032, ending transfer speculation is trending now Davido Ignites Controversy After Calling Iyabo Ojo’s Lover Paul O Broke in Public Clash is trending now ABUAD, ISN partner to boost neuroscience research in Africa is trending now Greece reports 65 West Nile virus cases, 6 deaths is trending now Africa CDC and WHO call for urgent, community-led action to contain Ebola in the DRC is trending now New quantum microscopy trick quadruples microscope resolution is trending now South Korea space agency shares Moon images after SpaceX rocket debris crash is trending now NASA urges US residents to watch August 12’s total solar eclipse is trending now Cocoa Pod Waste Could Provide a Sustainable Concrete Retarder is trending now Major transfer twist: Rodri agrees to join Barcelona, rules out Real Madrid is trending now Rangers, Rivers United face Sobemap, San Pedro in CAF CL qualifiers is trending now WAFCON 2026: 3 quarter-final fixtures confirmed is trending now Vinicius Jr extends Real Madrid deal to 2032, ending transfer speculation is trending now Davido Ignites Controversy After Calling Iyabo Ojo’s Lover Paul O Broke in Public Clash is trending now
Education

Scratch Animation Reverse Engineering

Scratch Animation Reverse Engineering

A teacher friend in Oklahoma sent me the following video clip, which I converted to an animated GIF via Adobe. Her question to me was, “How did the student code this in Scratch?” Apparently the student did NOT save the project, so the actual code is not available for inspection and analysis. This is a […]

A teacher friend in Oklahoma sent me the following video clip, which I converted to an animated GIF via Adobe. Her question to me was, “How did the student code this in Scratch?” Apparently the student did NOT save the project, so the actual code is not available for inspection and analysis. This is a Scratch coding reverse-engineering challenge, using the “pen blocks” like we do in my “Polygon Play” project, which is part of my Scratch animation unit!

Circle Ray Animation

I spent more time than I care to admit (more than an hour) playing with this code and tweaking it, and I did NOT come up with a satisfactory solution yet. Here are my two best attempts.

In “Circle Ray Animation v1” I’m trying to use the pen blocks, and I created two subroutines for the pin and pinhead. I’m pretty sure this is more complicated than what the student did originally. The student’s final graphic has 19 pinhead circles, but instead of fanning / drawing outward, they are at oblique angles which creates a “spirograph” like circle with a hollow center.

Circle Ray Animation v1 (Scratch) (CC BY 4.0) by Wesley Fryer

In my second attempt, I tried a different approach using the stamp block. Instead of creating a polygon with the “pen down” block and a loop, I tried “stamping” a sprite which I drew in the shape of a pin. I know this is not the technique the original student used, because they hadn’t changed the original Scratch Cat costume, but this result is actually closer to the design they created.

Circle Ray Animation v2 (Scratch) (CC BY 4.0) by Wesley Fryer

I tried “vibe coding” this challenge, initially using ChatGPT, then Claude, and finally Gemini. The LLMs offered the best help when I challenged them to “Please brainstorm 5 other ways to create this with totally different code approaches.” This is an AI prompting suggestion I picked up from Amanda Caswell in her October 2025 post on Tom’s Guide, “7 prompts I use for every AI chatbot — and they work for just about everything.” This is a version of her sixth prompt suggestion, “The ‘Three Versions’ Prompt.”

What ideas do you have? I’m thinking this could be a fun challenge to pose to my own middle school computer programming students down the road!

View original source →

Related

More from Moving at the Speed of Creativity By Wesley Fryer, Ph.D.