šļø Guest: Kevin Workman (Happy Coding)
š Ā Date:Ā May 3, 2025
š„Ā Session Recording
This session explored how to animate and interact with arrays in p5.js usingĀ frameCount
,Ā modulo
,Ā Math.abs()
, and toggle states. Participants shared projects and discussed practical ways to scaffold animations in the classroom. Guest speaker Kevin Workman shared insights on inclusive CS education and his path from Google to HappyCoding.io.
frameCount
Ā andĀ %
frameCount % 255
Ā to cycle through color values.š¬Ā Saber:Ā āModulo helps you loop through a predictable range... really useful for patterns.ā
mousePressed()
Ā and Boolean StatesmousePressed()
Ā andĀ isLooping()
.š¬Ā Pop Penguin:Ā āYou can useĀ isLooping()
Ā to get the current state and switch betweenĀ loop()
Ā andĀ noLoop()
.ā
š¬Ā Randy:Ā āCould also makeĀ state
Ā a Boolean... useĀ state
Ā andĀ !state
.ā