In Intro to CS students have been working on animated scenes using Java Script.
Here are a few summative tasks created by students where they are using algorithms that adjust x, y locations and work with counter patterns inside a loop function. Students are making connections to their math skills in algebra on a daily basis in this course.  

https://studio.code.org/projects/gamelab/-tOUXaVJRzlYs_t_uDZ5FubYmaGpIfaWrvTQ3sHhHFs

https://studio.code.org/projects/gamelab/4TRlvLLGrr2oDA1dBPL-pEH_TcHMZmhlGjdWOLrXu74

https://studio.code.org/projects/gamelab/mISRluv33zWPn7lVg4sEOohwZ-GqaqC0mftOcytmvxY

https://studio.code.org/projects/gamelab/6RN4VEu0rF-RuORiIVSONQxw35S7qQpVtlaw9Cm00m4