Skip to content

Instantly share code, notes, and snippets.

@jafish
Created April 1, 2025 14:55
Show Gist options
  • Save jafish/0d7ad62885f694f3312b7f43abdb304b to your computer and use it in GitHub Desktop.
Save jafish/0d7ad62885f694f3312b7f43abdb304b to your computer and use it in GitHub Desktop.
if (frameCount % 30 ===0){
index = index + 1
}else if (index >= windDir.length) {
index = 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment