assignment 5: animation adhesive
so new to coding and only been doing it for a couple weeks, but this assignment is too stressful, can someone help me create a simple code to do this?
In this assignment, you will use all of the graphics commands you have learned to create an animated scene. Your program should have a clear theme and tell a story. You may pick any school-appropriate theme that you like.
The program must include a minimum of:
5 circles
5 polygons
5 line commands
2 for loops
1 global variable
You may wish to use the standard boilerplate code for simplegui graphics
If it helps anything, here's how I'd approach this problem.
I'd start by making each "frame" of the animation its own function. If that hasn't been taught yet, that's fine. Next, in the main function (the one that gets called when you start the program, if Edhesive's language has one) draw each frame one-by-one with a delay in between each. Here's some pseudocode:
At the start of the program: Loop infinitely: Draw frame 1 Wait 100ms Draw frame 2 Wait 100ms Draw frame 3 Wait 100ms ... End loop End program
https://repl.it/@AdCharity/Help2 here's just an example...
i see the example. thanks.. we now need to figure our how to create the code [email protected]
i just ran the example, pretty neat.. [email protected]
no wonder, directions also tell him he will need to show his code and output to the teacher for grading by submitting a URL for your CodeSkulptor code or uploading a .py [email protected]
@ginafranco glad I helped (though I'm not great at python). Good luck.
What language do you have to do this assignment in?
I believe it’s python [email protected]
We are
Using edhesive program sponsored by amazon
If you can help me would be greatly appreciated. I’m trying to help my 14 year old son
@niorg2606
I'd start here.
not sure how to start this? i tried to run what you sent me and nothing happens
@AdCharity
@ginafranco well I assume you need to use tkinter so I just gave a simplegui starter I guess. Note: you need this kind of repl
@ginafranco plus idk if you've had any programming experience but that's a function... meaning it doesn't run unless you actually CALL it
no experience at all, its my 14 year old son being introduced to coding so we are trying to figure ou this assignment together. @AdCharity
@ginafranco welp I am very bad at python for starters... this project seems somewhat difficult for a beginner. Does your son understand simple programming "syntax"? Like how to declare a variable? Or how a loop functions?
i agree, he is a beginner and not sure why these assignments are being assigned but its part of a program Edhesive sponsored by amazon all work in online.
and this is one of the Unit 5 assignments. he did a loop assignment but he wont be able to start something from scratch. we are finding what we can online to help guide him. thank you for your time @AdCharity