SlideShare a Scribd company logo
1 of 3
Npm : 201243501163
Nama : Hamim Suyuti
Kelas : R7H
Mata Kuliah : Komputer Grafik
Dosen : Nahot Frastian, M.Kom
Program Studi : Teknik Informatika
Universitas : Universitas Indraprasta PGRI
Program Komputer Grafik :
- Kotak3D
Input :
import java.awt.Graphics;
public class Polygon extends java.applet.Applet
{
public void paint (Graphics g)
{
int exes[]= {39,94,97,142,53,58,26};
int whys[]= {33,74,36,70,108,80,106};
int pts= exes.length;
g.drawPolygon(exes,whys,pts);
//g.fillPolygon(exes,whys,pts);
}
}
Output :

More Related Content

Viewers also liked

rakkautta-ja-vanhemmuutta-web-en
rakkautta-ja-vanhemmuutta-web-enrakkautta-ja-vanhemmuutta-web-en
rakkautta-ja-vanhemmuutta-web-enHanna Kinnunen
 
Il diritto penale europeo, questo sconosciuto e l’avvocato penalista europeo
Il diritto penale europeo, questo sconosciuto e l’avvocato penalista europeoIl diritto penale europeo, questo sconosciuto e l’avvocato penalista europeo
Il diritto penale europeo, questo sconosciuto e l’avvocato penalista europeoFederico Cappelletti
 
Case Study - Rebranding Spa
Case Study - Rebranding SpaCase Study - Rebranding Spa
Case Study - Rebranding SpaQuatre Mains
 
Tl briefing numeracy in the curriculum
Tl briefing numeracy in the curriculumTl briefing numeracy in the curriculum
Tl briefing numeracy in the curriculumDavid Fawcett
 
Assigning a static By: jamesmalto
Assigning a static By: jamesmaltoAssigning a static By: jamesmalto
Assigning a static By: jamesmaltoMaltoSemaj
 
La imagen en movimiento
La imagen en movimientoLa imagen en movimiento
La imagen en movimientovictoriaastur
 
Covering the coup (whole article)
Covering the coup (whole article)Covering the coup (whole article)
Covering the coup (whole article)Clars Botecario
 
Louisiana indian tribes
Louisiana indian tribesLouisiana indian tribes
Louisiana indian tribesmbordelon2
 
MEETING THE “SANITATION FOR ALL” GOAL: GHANA’S PUBLIC PRIVATE PARTNERSHIP MODEL
MEETING THE “SANITATION FOR ALL” GOAL: GHANA’S PUBLIC PRIVATE PARTNERSHIP MODELMEETING THE “SANITATION FOR ALL” GOAL: GHANA’S PUBLIC PRIVATE PARTNERSHIP MODEL
MEETING THE “SANITATION FOR ALL” GOAL: GHANA’S PUBLIC PRIVATE PARTNERSHIP MODELEdem Paku
 
Final project role of procurement in resource mobilisation
Final project role of procurement in resource mobilisationFinal project role of procurement in resource mobilisation
Final project role of procurement in resource mobilisationAleck Munhamo
 
GARAGE BOOK 02 - ANTS SHOWCASE (small size)
GARAGE BOOK 02 - ANTS SHOWCASE (small size)GARAGE BOOK 02 - ANTS SHOWCASE (small size)
GARAGE BOOK 02 - ANTS SHOWCASE (small size)Hani Abdolmagid
 
ANAC Election 2015 Statement to Federal Parties.Oct 15_15
ANAC Election 2015 Statement to Federal Parties.Oct 15_15ANAC Election 2015 Statement to Federal Parties.Oct 15_15
ANAC Election 2015 Statement to Federal Parties.Oct 15_15Vladyslav Hordyeyev
 

Viewers also liked (20)

rakkautta-ja-vanhemmuutta-web-en
rakkautta-ja-vanhemmuutta-web-enrakkautta-ja-vanhemmuutta-web-en
rakkautta-ja-vanhemmuutta-web-en
 
Il diritto penale europeo, questo sconosciuto e l’avvocato penalista europeo
Il diritto penale europeo, questo sconosciuto e l’avvocato penalista europeoIl diritto penale europeo, questo sconosciuto e l’avvocato penalista europeo
Il diritto penale europeo, questo sconosciuto e l’avvocato penalista europeo
 
Case Study - Rebranding Spa
Case Study - Rebranding SpaCase Study - Rebranding Spa
Case Study - Rebranding Spa
 
INCALZIREA GLOBALA
INCALZIREA GLOBALAINCALZIREA GLOBALA
INCALZIREA GLOBALA
 
Tl briefing numeracy in the curriculum
Tl briefing numeracy in the curriculumTl briefing numeracy in the curriculum
Tl briefing numeracy in the curriculum
 
Assigning a static By: jamesmalto
Assigning a static By: jamesmaltoAssigning a static By: jamesmalto
Assigning a static By: jamesmalto
 
Juego semana cultural
Juego semana culturalJuego semana cultural
Juego semana cultural
 
La imagen en movimiento
La imagen en movimientoLa imagen en movimiento
La imagen en movimiento
 
Covering the coup (whole article)
Covering the coup (whole article)Covering the coup (whole article)
Covering the coup (whole article)
 
Louisiana indian tribes
Louisiana indian tribesLouisiana indian tribes
Louisiana indian tribes
 
Sistemas operativos
Sistemas operativosSistemas operativos
Sistemas operativos
 
Podcasting
PodcastingPodcasting
Podcasting
 
Estática
EstáticaEstática
Estática
 
missing links
missing linksmissing links
missing links
 
M Eng (2)
M Eng (2)M Eng (2)
M Eng (2)
 
MEETING THE “SANITATION FOR ALL” GOAL: GHANA’S PUBLIC PRIVATE PARTNERSHIP MODEL
MEETING THE “SANITATION FOR ALL” GOAL: GHANA’S PUBLIC PRIVATE PARTNERSHIP MODELMEETING THE “SANITATION FOR ALL” GOAL: GHANA’S PUBLIC PRIVATE PARTNERSHIP MODEL
MEETING THE “SANITATION FOR ALL” GOAL: GHANA’S PUBLIC PRIVATE PARTNERSHIP MODEL
 
Arc
ArcArc
Arc
 
Final project role of procurement in resource mobilisation
Final project role of procurement in resource mobilisationFinal project role of procurement in resource mobilisation
Final project role of procurement in resource mobilisation
 
GARAGE BOOK 02 - ANTS SHOWCASE (small size)
GARAGE BOOK 02 - ANTS SHOWCASE (small size)GARAGE BOOK 02 - ANTS SHOWCASE (small size)
GARAGE BOOK 02 - ANTS SHOWCASE (small size)
 
ANAC Election 2015 Statement to Federal Parties.Oct 15_15
ANAC Election 2015 Statement to Federal Parties.Oct 15_15ANAC Election 2015 Statement to Federal Parties.Oct 15_15
ANAC Election 2015 Statement to Federal Parties.Oct 15_15
 

More from HamimSuyuti (18)

Rumah
RumahRumah
Rumah
 
Kuis 2
Kuis 2Kuis 2
Kuis 2
 
Kuis 1 b
Kuis 1 bKuis 1 b
Kuis 1 b
 
Kuis 1
Kuis 1Kuis 1
Kuis 1
 
Makalah Kelompok
Makalah KelompokMakalah Kelompok
Makalah Kelompok
 
Segiempat1
Segiempat1Segiempat1
Segiempat1
 
Segi empat
Segi empatSegi empat
Segi empat
 
Polygon
PolygonPolygon
Polygon
 
Oval
OvalOval
Oval
 
Myline
MylineMyline
Myline
 
Lamp
LampLamp
Lamp
 
Kotak3 d
Kotak3 dKotak3 d
Kotak3 d
 
Grafik garis
Grafik garisGrafik garis
Grafik garis
 
Grafik batang
Grafik batangGrafik batang
Grafik batang
 
Drawtext
DrawtextDrawtext
Drawtext
 
Bintangwarna
BintangwarnaBintangwarna
Bintangwarna
 
Basis graphics
Basis graphicsBasis graphics
Basis graphics
 
Project Komputer Grafik
Project Komputer GrafikProject Komputer Grafik
Project Komputer Grafik
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 

Recently uploaded (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 

Polygonbiasa

  • 1. Npm : 201243501163 Nama : Hamim Suyuti Kelas : R7H Mata Kuliah : Komputer Grafik Dosen : Nahot Frastian, M.Kom Program Studi : Teknik Informatika Universitas : Universitas Indraprasta PGRI Program Komputer Grafik : - Kotak3D Input : import java.awt.Graphics; public class Polygon extends java.applet.Applet { public void paint (Graphics g) { int exes[]= {39,94,97,142,53,58,26}; int whys[]= {33,74,36,70,108,80,106}; int pts= exes.length; g.drawPolygon(exes,whys,pts); //g.fillPolygon(exes,whys,pts); } }
  • 2.