Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Drawing oval with pen...
- P444
-
500+ posts
Drawing oval with pen...
Uh, this is a silly question, but sadly, I have forgotten what I had learnt on Maths class >~<
How do you draw an oval, from point a to b in width and point a to c in length?
Illustration :

Link: https://scratch.mit.edu/projects/144034438/
How do you draw an oval, from point a to b in width and point a to c in length?
Illustration :

Link: https://scratch.mit.edu/projects/144034438/
Last edited by P444 (Feb. 7, 2017 19:05:56)
- gtoal
-
1000+ posts
Drawing oval with pen...
Use the search box above to look for: ellipse drawing library or look in the graphics101 studio for simpler implementations Uh, this is a silly question, but sadly, I have forgotten what I had learnt on Maths class >~<
How do you draw an oval, from point a to b in width and point a to c in length?
Illustration :
Link: https://scratch.mit.edu/projects/144034438/
- asivi
-
1000+ posts
Drawing oval with pen...
Like @P44 i don't remember how to draw an oval, i did study and practice it In Technical Drawing
, a lot of those attempts to
bin, when i was fifteen o sixteen years old but what i remember that those are not the same exactly (in certain cases pretty similar to eye though), so i've searched in wikipedia
https://en.wikipedia.org/wiki/Oval
https://en.wikipedia.org/wiki/Ellipse
, a lot of those attempts to

https://en.wikipedia.org/wiki/Oval
https://en.wikipedia.org/wiki/Ellipse
Last edited by asivi (Feb. 8, 2017 00:26:33)
- P444
-
500+ posts
Drawing oval with pen...
Thanks both of you, after trying to do it myself, I failed horribly ;-;
So yep, using a pre-made ellipse drawer by MasterOfArithmetic found here, which is the closest I got to how I wanted to implement it.
So yep, using a pre-made ellipse drawer by MasterOfArithmetic found here, which is the closest I got to how I wanted to implement it.
- JimmyDee
-
1 post
Drawing oval with pen...
This code will let you make a sprite trace an oval track. The sin and cos functions give you a number between -1 and 1. Using a timer gives you a stable way to always calculate the next position (x and y). multiplying the timer by 100 in both cases before taking sin or cos increases the speed at which the sprite will travel around the track (bigger number, faster motion). Multiplying the x val (sin of timer) by 150 stretches the track out horizontally so it will go from -150 to +150. Multiplying the y val (cos of timer) by 50 stretches the track out vertically so it will go from -50 to +50. Play with the numbers! You can get the track to be tall and skinny or short and fat or a perfect circle. As it is now it will always center on (0,0). You could always add ‘a’ to x and ‘b’ to y to center it on ('a', ‘b’). Hope this helps somebody 

- Pikachu1234567890123
-
6 posts
Drawing oval with pen...
Can someone please tell me how to just draw a simple oval? I'm trying to draw a “G” out of pen… 

- DanTheProgrammer2019
-
1 post
Drawing oval with pen...
Thanks a lot, JimmyDee! I have been trying many ways. Can you show me how to make the pen stops on time?
- codeman1044
-
1000+ posts
Drawing oval with pen...
Please don't necropost. If you need help then please create your own topic.
- Discussion Forums
- » Help with Scripts
-
» Drawing oval with pen...