Find Jobs
Hire Freelancers

To draw an "Ellipse" to the given parameters.

£20-250 GBP

Dibatalkan
Dibuat lebih dari 7 tahun yang lalu

£20-250 GBP

Dibayar ketika dikirim
Purpose of Task: To draw an "Ellipse" to the given parameters. Definition of Function to be edited: drawEllipse(x, y, rx, ry, nSteps) The ellipse should be drawn with its centre at the given co-ordinates (x and y) and with radius of (rx and ry). Since it is impossible to draw a perfect Ellipse on the screen, in practice, an Ellipse is normally approximated by a set of short, straight lines; the more lines, the better the "Ellipse". In this case the final parameter (nSteps) defines how many line segments to divide the Ellipse into. Note: The co-ordinates of any point on the edge of an Ellipse centred at the origin may be obtained from the following equations. X = RadiusX * cosine(*) Y = RadiusY * sine(*) {where * is an angle.} The JavaScript functions [login to view URL] (angle) and [login to view URL] (angle) can be invoked, but they require the angle to be given in radians. Note: To convert an angle from degrees to radians multiply the angle by */180 (where * = 3 .1415926).   Getting Started The Task 1 folder contains the files you need. When you click on the “New Ellipse” button it reads in the parameter values from the user interface and calls the function newEllipse (…) to draw the circle. A red cross is drawn at the centre of the Ellipse and a green “radiusX-line” so that you can check that your Ellipse is drawn in the correct position and at the correct size. Screen shot from Task 1 without changes made Screen shot from Task 1 with changes made There is no data file for this program; when you run the application, you will be asked to enter: • X and Y of circle • Radius X • Radius Y • Number of Steps N.B. The X and Y axes have their origin in the centre of the drawing area which is of size 800 by 600. (Each square is 10 x 10 pixels) Further Guidance • You will find that the drawEllipse (…) function already exists in “[login to view URL]”, although it does not work correctly; you need to modify it. • Only edit the drawEllipse (…) function. • To help you with choosing coordinates for testing your code note that the drawing area has a coordinate range from (–400 to +400 in X) & (-300 to + 300 in Y), with the origin in the centre. • Remember to test your Ellipse with a range of values for position, radius and steps.
ID Proyek: 11726473

Tentang proyek

14 proposal
Proyek remot
Aktif 8 tahun yang lalu

Ingin menghasilkan uang?

Keuntungan menawar di Freelancer

Tentukan anggaran dan garis waktu Anda
Dapatkan bayaran atas pekerjaan Anda
Uraikan proposal Anda
Gratis mendaftar dan menawar pekerjaan
14 freelancer menawar dengan rata-rata £101 GBP untuk pekerjaan ini
Avatar Pengguna
Hi, I just checked the description you have provided regarding the project and would be a pleasure to assist you on your project. I will work with full dedication to give you the best output within the desired timeframe. Please have a look at my portfolio to have an idea on my level of creativity else ping me and I will share samples with you. Once you agree, I can start at the same time without any delay assuring top quality work. I look forward to hear from you and a long term relationship ahead. Wishing you a great day ahead. Regards, Shruti
£25 GBP dalam 0 hari
4,8 (924 ulasan)
8,1
8,1
Avatar Pengguna
A proposal has not yet been provided
£321 GBP dalam 10 hari
4,9 (323 ulasan)
7,4
7,4
Avatar Pengguna
Hi, I have gone through your project requirements and would be glad to work with you on your current project. I am confident enough to complete this project with total accuracy in order to give you the desired output. Once confirmed, I can start immediately and can even meet tight deadlines if any. I am always available on Freelancer chat to address any queries or concerns and assure you top quality work as I look forward to a long term relationship with each of my clients. Any changes or modifications would be respectfully addressed to ensure your maximum level of satisfaction. Do let me know in case you need any other information. I look forward to work with you. Regards, Parul
£30 GBP dalam 1 hari
4,8 (347 ulasan)
7,2
7,2
Avatar Pengguna
need an A grade?contact me.
£111 GBP dalam 2 hari
4,9 (94 ulasan)
6,7
6,7
Avatar Pengguna
‌I have a lots of experience in PHP MVC,MySQL, Wordpress, Codeigniter, laravel and Web Designing. my aim to deliver quality products to our customers within specified deadline. If hired by you I will put in my best work. I am ready to be hired by you and start work on your jobs
£100 GBP dalam 2 hari
4,8 (80 ulasan)
6,6
6,6
Avatar Pengguna
Hi i'm software engineer and expert java developer. I have experience in graphics work in java and have developed graphical projects and games. Please contact me and discus details Regards Usman Shery
£50 GBP dalam 1 hari
4,9 (101 ulasan)
5,9
5,9
Avatar Pengguna
Hi, I'm strong in co-ordinate geometry and have 7 years of experience in java/js. I have worked on java swing, java2d, canvas. The co-ordinate geometry remains the same. I can do this well and quickly. Ellipses are generally used to draw circle. And the function you mentioned is a standard implemention. I understood the requirement well and can complete this in time. Regards, Deepak Mishra MS Software Engineering.
£150 GBP dalam 3 hari
5,0 (37 ulasan)
5,5
5,5
Avatar Pengguna
WISHING YOU PEACE IN YOUR LIFE. I have more than 8 years of experience in JAVA. The breakup of experience as per best of my knowledge: Graphics : Using c/c++/Java-Swings/Java Applets Spring2.x - 3.x : 2year 1 months Hibernate 3.x - 4.x/iBatis/JPA : 2 years 4 months Struts 1.x - 2.x : 14 months HtmlUnit : 4 months XSLT/XML/DOM/JAXB : 2 years 2 months Jquery /AngularJS: 9 months javaScript/OOP JavaScript /Bootstrap : 1 years 6 months Design Patterns : 8 month Database design(Oracle/MySQL) : 21 months. DATA Extraction experience from web-sites to name a FEW sites like facebook, stumbleupon, youtube, amazon, linkedIn, twitter, eBay and yelp. Web Scraping(httpClient,JSoup,HTMLUnit): 1 year 2 months. Working in a reputed company,Cognizant ,India ,Pune. Believe to be problem solver . "Honesty is the best policy" i really mean it. Worked on Oracle /MYSQL Database & Java Related frameworks most of the time . Basically i am an web/Desktop developer. Thanks & Regards
£125 GBP dalam 5 hari
4,7 (18 ulasan)
5,0
5,0
Avatar Pengguna
We are team of excellent developers and writers. We have 2 year experience related to your project field. We can do your project and solve your all problems according to your requirements. We have read your description for projects and we understand what you want so we are confident that we can do it easily in mention time. We assure you that you will be completely satisfy with our work. And after delivering your project if you feel some issue in understanding the projects then we will teach you free until you understand. If you have any question then feel free to ask. We are here for you. Thank you
£153 GBP dalam 3 hari
4,7 (21 ulasan)
4,4
4,4
Avatar Pengguna
£111 GBP dalam 2 hari
4,6 (3 ulasan)
2,2
2,2
Avatar Pengguna
Please add Me S,k,y.p,e Id--- giopld for more discus ************************************************************************************
£20 GBP dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
A proposal has not yet been provided
£44 GBP dalam 1 hari
0,0 (0 ulasan)
0,0
0,0
Avatar Pengguna
A proposal has not yet been provided
£20 GBP dalam 1 hari
0,0 (0 ulasan)
0,0
0,0

Tentang klien

Bendera UNITED KINGDOM
leeds, United Kingdom
5,0
1
Memverifikasi Metode pembayaran
Anggota sejak Mar 21, 2016

Verifikasi Klien

Terima kasih! Kami telah mengirim Anda email untuk mengklaim kredit gratis Anda.
Anda sesuatu yang salah saat mengirimkan Anda email. Silakan coba lagi.
Pengguna Terdaftar Total Pekerjaan Terpasang
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Memuat pratinjau
Izin diberikan untuk Geolokasi.
Sesi login Anda telah kedaluwarsa dan Anda sudah keluar. Silakan login kembali.