If only there were some convenient function for this that could be used instead of manually computing a small set of angles. I'm thinking a function in the shape of a sine wave would probably work well.
Even though Scratch has built in functions for rotation, and trigonometric functions and lists that you could use for a lookup table... (not saying you’re bad at it or anything because you were probably new to programming if you were using Scratch)
I was a kid, I hadn't started learning programming languages and I had stolen some popular project which I was trying to edit. LOL. Now I am a full fledged programmer... Arduino, JavaShit, HTML, CSS and I am learning Python in school.
54
u/BanTheTrubllesome Aug 24 '21
what lang is this
51
u/trBlueJ Aug 25 '21
If only there were some convenient function for this that could be used instead of manually computing a small set of angles. I'm thinking a function in the shape of a sine wave would probably work well.
35
u/MurdoMaclachlan public boolean isInt(int i) { return true; } Aug 24 '21 edited Sep 02 '21
Image Transcription: Code
I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!
6
u/Fl1pNatic Aug 25 '21
I am really unhappy with what I see
6
u/FlamboyantApproval16 Aug 25 '21
I actually did that once in scratch
2
u/deep_mind_ Aug 25 '21
I mean, if nothing else, you can see the (flawed) logic behind it…