SlideShare a Scribd company logo
Nama: Kiuntoro
NPM: 201243501128
Kelas: R7H
Mata Kuliah: Komputer Grafik
Dosen: Nahot Frastian, M.Kom
Universitas: Universitas Indraprasta PGRI
Program: warna RGB
Input:
import java.applet.Applet;
import java.awt.Graphics;
import java.awt.Color;
import java.awt.Font;
public class WARNARGB extends java.applet.Applet {
public void paint (Graphics g){
g.setColor (Color.red);
g.fillRoundRect (0,0,100,100,12,12);
g.setColor (Color.green);
g.fillRoundRect (0,100,100,100,12,12);
g.setColor (Color.blue);
g.fillRoundRect (0,200,100,100,12,12);
g.setColor (Color.cyan);
g.fillRoundRect (0,300,100,100,12,12);
g.setColor (Color.magenta);
g.fillRoundRect (0,400,100,100,12,12);
g.setColor (Color.yellow);
g.fillRoundRect (0,500,100,100,12,12);
g.setColor (Color.black);
g.fillRoundRect (0,600,100,100,12,12);
g.setColor (Color.green);
g.fillRoundRect (100,0,100,100,12,12);
g.setColor (Color.red);
g.fillRoundRect (100,100,100,100,12,12);
g.setColor (Color.green);
g.fillRoundRect (100,200,100,100,12,12);
g.setColor (Color.blue);
g.fillRoundRect (100,300,100,100,12,12);
g.setColor (Color.cyan);
g.fillRoundRect (100,400,100,100,12,12);
g.setColor (Color.magenta);
g.fillRoundRect (100,500,100,100,12,12);
g.setColor (Color.yellow);
g.fillRoundRect (100,600,100,100,12,12);
g.setColor (Color.blue);
g.fillRoundRect (200,0,100,100,12,12);
g.setColor (Color.green);
g.fillRoundRect (200,100,100,100,12,12);
g.setColor (Color.red);
g.fillRoundRect (200,200,100,100,12,12);
g.setColor (Color.green);
g.fillRoundRect (200,300,100,100,12,12);
g.setColor (Color.blue);
g.fillRoundRect (200,400,100,100,12,12);
g.setColor (Color.cyan);
g.fillRoundRect (200,500,100,100,12,12);
g.setColor (Color.magenta);
g.fillRoundRect (200,600,100,100,12,12);
g.setColor (Color.cyan);
g.fillRoundRect (300,0,100,100,12,12);
g.setColor (Color.blue);
g.fillRoundRect (300,100,100,100,12,12);
g.setColor (Color.green);
g.fillRoundRect (300,200,100,100,12,12);
g.setColor (Color.red);
g.fillRoundRect (300,300,100,100,12,12);
g.setColor (Color.green);
g.fillRoundRect (300,400,100,100,12,12);
g.setColor (Color.blue);
g.fillRoundRect (300,500,100,100,12,12);
g.setColor (Color.cyan);
g.fillRoundRect (300,600,100,100,12,12);
g.setColor (Color.magenta);
g.fillRoundRect (400,0,100,100,12,12);
g.setColor (Color.cyan);
g.fillRoundRect (400,100,100,100,12,12);
g.setColor (Color.blue);
g.fillRoundRect (400,200,100,100,12,12);
g.setColor (Color.green);
g.fillRoundRect (400,300,100,100,12,12);
g.setColor (Color.red);
g.fillRoundRect (400,400,100,100,12,12);
g.setColor (Color.green);
g.fillRoundRect (400,500,100,100,12,12);
g.setColor (Color.blue);
g.fillRoundRect (400,600,100,100,12,12);
g.setColor (Color.yellow);
g.fillRoundRect (500,0,100,100,12,12);
g.setColor (Color.magenta);
g.fillRoundRect (500,100,100,100,12,12);
g.setColor (Color.cyan);
g.fillRoundRect (500,200,100,100,12,12);
g.setColor (Color.blue);
g.fillRoundRect (500,300,100,100,12,12);
g.setColor (Color.green);
g.fillRoundRect (500,400,100,100,12,12);
g.setColor (Color.red);
g.fillRoundRect (500,500,100,100,12,12);
g.setColor (Color.green);
g.fillRoundRect (500,600,100,100,12,12);
g.setColor (Color.black);
g.fillRoundRect (600,0,100,100,12,12);
g.setColor (Color.yellow);
g.fillRoundRect (600,100,100,100,12,12);
g.setColor (Color.magenta);
g.fillRoundRect (600,200,100,100,12,12);
g.setColor (Color.cyan);
g.fillRoundRect (600,300,100,100,12,12);
g.setColor (Color.blue);
g.fillRoundRect (600,400,100,100,12,12);
g.setColor (Color.green);
g.fillRoundRect (600,500,100,100,12,12);
g.setColor (Color.red);
g.fillRoundRect (600,600,100,100,12,12);
g.setColor (Color.orange);
Font fr=new Font ("Calibri",Font.BOLD,70);
g.setFont (fr);
g.drawString ("Komputer Grafik",108,280);
Font fr1=new Font ("Calibri",Font.BOLD,48);
g.setFont(fr1);
g.drawString ("Dosen: Nahot Frastian, M.Kom",40,360);
}
}
Proses:
1) f illRoundRect berwarna merah dengan
x=0,y=0,width=100,height=100,xdiam=12,ydiam=12
2) fillRoundRect berwarna hijau dengan
x=0,y=100,width=100,height=100,xdiam=12,ydiam=12
3) fillRoundRect berwarna biru dengan
x=0,y=200,width=100,height=100,xdiam=12,ydiam=12
4) fillRoundRect berwarna cyan dengan
x=0,y=300,width=100,height=100,xdiam=12,ydiam=12
5) fillRoundRect berwarna magenta dengan
x=0,y=400,width=100,height=100,xdiam=12,ydiam=12
6) fillRoundRect berwarna kuning dengan
x=0,y=500,width=100,height=100,xdiam=12,ydiam=12
7) fillRoundRect berwarna hitam dengan
x=0,y=600,width=100,height=100,xdiam=12,ydiam=12
8) fillRoundRect berwarna hijau dengan
x=100,y=0,width=100,height=100,xdiam=12,ydiam=12
9) fillRoundRect berwarna merah dengan
x=100,y=100,width=100,height=100,xdiam=12,ydiam=12
10) Dari rincian 1-9 memberitahu bahwa kita membuat fillRoundRect dengan width, height,
xdiam, dan ydiam yang sama tetapi dengan nilai x dan y yang saling berbeda sesuai
dengan letak yang kita inginkan serta dengan warna yg berbeda sesuai dengan kita
inginkan
11) drawString dengan string "Komputer Grafik",pada koordinat x=108,y=280 dengan warna
font orange dan dengan jenis font Calibri yang dipertebal dengan ukuran font 48
12) drawString dengan string Dosen: Nahot Frastian, M.Kom"pada koordinat x=108,y=280
dengan warna font orange dan dengan jenis font Calibri yang dipertebal dengan ukuran
font 48
Output:
Warna rgb

More Related Content

What's hot

CrystalBall - Compute Relative Frequency in Hadoop
CrystalBall - Compute Relative Frequency in Hadoop CrystalBall - Compute Relative Frequency in Hadoop
CrystalBall - Compute Relative Frequency in Hadoop
Suvash Shah
 
Image processing lab work
Image processing lab workImage processing lab work
Image processing lab work
Shajun Nisha
 
Answer 2
Answer 2Answer 2
Answer 2
rahul Pankaj
 
Машинное обучение на JS. С чего начать и куда идти | Odessa Frontend Meetup #12
Машинное обучение на JS. С чего начать и куда идти | Odessa Frontend Meetup #12Машинное обучение на JS. С чего начать и куда идти | Odessa Frontend Meetup #12
Машинное обучение на JS. С чего начать и куда идти | Odessa Frontend Meetup #12
OdessaFrontend
 
Experement no 6
Experement no 6Experement no 6
Experement no 6
Smita Batti
 
Open source adobe lightroom like
Open source adobe lightroom likeOpen source adobe lightroom like
Open source adobe lightroom like
Pierre Loic Chevillot
 
งาน 9 สุภาพร
งาน 9 สุภาพรงาน 9 สุภาพร
งาน 9 สุภาพรAreeya Onnom
 
Calculus II - 6
Calculus II - 6Calculus II - 6
Calculus II - 6
David Mao
 
1 borland c++ 5.02 by aramse
1   borland c++ 5.02 by aramse1   borland c++ 5.02 by aramse
1 borland c++ 5.02 by aramseAram SE
 
Τα Πολύ Βασικά για την Python
Τα Πολύ Βασικά για την PythonΤα Πολύ Βασικά για την Python
Τα Πολύ Βασικά για την Python
Moses Boudourides
 
Introduction to graphics programming in c
Introduction to graphics programming in cIntroduction to graphics programming in c
Introduction to graphics programming in c
baabtra.com - No. 1 supplier of quality freshers
 
Efficient equity portfolios using mean variance optimisation in R
Efficient equity portfolios using mean variance optimisation in REfficient equity portfolios using mean variance optimisation in R
Efficient equity portfolios using mean variance optimisation in R
Gregg Barrett
 
Lecture on graphics
Lecture on graphicsLecture on graphics
Lecture on graphics
Rafi_Dar
 

What's hot (17)

งาน 9
งาน 9งาน 9
งาน 9
 
CrystalBall - Compute Relative Frequency in Hadoop
CrystalBall - Compute Relative Frequency in Hadoop CrystalBall - Compute Relative Frequency in Hadoop
CrystalBall - Compute Relative Frequency in Hadoop
 
Image processing lab work
Image processing lab workImage processing lab work
Image processing lab work
 
Answer 2
Answer 2Answer 2
Answer 2
 
Машинное обучение на JS. С чего начать и куда идти | Odessa Frontend Meetup #12
Машинное обучение на JS. С чего начать и куда идти | Odessa Frontend Meetup #12Машинное обучение на JS. С чего начать и куда идти | Odessa Frontend Meetup #12
Машинное обучение на JS. С чего начать и куда идти | Odessa Frontend Meetup #12
 
Experement no 6
Experement no 6Experement no 6
Experement no 6
 
งาน 9
งาน 9งาน 9
งาน 9
 
Open source adobe lightroom like
Open source adobe lightroom likeOpen source adobe lightroom like
Open source adobe lightroom like
 
งาน 9 สุภาพร
งาน 9 สุภาพรงาน 9 สุภาพร
งาน 9 สุภาพร
 
Calculus II - 6
Calculus II - 6Calculus II - 6
Calculus II - 6
 
1 borland c++ 5.02 by aramse
1   borland c++ 5.02 by aramse1   borland c++ 5.02 by aramse
1 borland c++ 5.02 by aramse
 
Τα Πολύ Βασικά για την Python
Τα Πολύ Βασικά για την PythonΤα Πολύ Βασικά για την Python
Τα Πολύ Βασικά για την Python
 
Introduction to graphics programming in c
Introduction to graphics programming in cIntroduction to graphics programming in c
Introduction to graphics programming in c
 
Efficient equity portfolios using mean variance optimisation in R
Efficient equity portfolios using mean variance optimisation in REfficient equity portfolios using mean variance optimisation in R
Efficient equity portfolios using mean variance optimisation in R
 
Virtual inheritance
Virtual inheritanceVirtual inheritance
Virtual inheritance
 
เฉลยแบบฝึกหัดบทที่ 1
เฉลยแบบฝึกหัดบทที่ 1เฉลยแบบฝึกหัดบทที่ 1
เฉลยแบบฝึกหัดบทที่ 1
 
Lecture on graphics
Lecture on graphicsLecture on graphics
Lecture on graphics
 

Viewers also liked

Vesco construction buklet
Vesco construction bukletVesco construction buklet
Vesco construction buklet
ozagorode
 
Evolución del TPACK
Evolución del TPACKEvolución del TPACK
Evolución del TPACK
ravaprende
 
Mercantil yetsy
Mercantil yetsyMercantil yetsy
Mercantil yetsy
yetsycardenas
 
Second Class Citizen
Second Class CitizenSecond Class Citizen
Second Class CitizenSteven Finlan
 
Tecnologias da informação
Tecnologias da informaçãoTecnologias da informação
Tecnologias da informação
Celso Frederico Lago
 
Inteligencia Artificial liberada
Inteligencia Artificial liberadaInteligencia Artificial liberada
Inteligencia Artificial liberada
ravaprende
 
Vaakumis kuivatus konvektiivse soojusülekandega
Vaakumis kuivatus konvektiivse soojusülekandega Vaakumis kuivatus konvektiivse soojusülekandega
Vaakumis kuivatus konvektiivse soojusülekandega
Tsenter
 
Symbaloo presentation
Symbaloo presentationSymbaloo presentation
Symbaloo presentation
Matthew Rogers
 
Myline1
Myline1Myline1
Myline1
kiuntoro
 
Educación del siglo XXI
Educación del siglo XXIEducación del siglo XXI
Educación del siglo XXI
ravaprende
 
Polygon
PolygonPolygon
Polygon
kiuntoro
 
3D skaneerimine "Kuidas ja milleks?"
3D skaneerimine "Kuidas ja milleks?"3D skaneerimine "Kuidas ja milleks?"
3D skaneerimine "Kuidas ja milleks?"
Tsenter
 
Creating a sustainable competitive advantage in the age of convergence
Creating a sustainable competitive advantage in the age of convergenceCreating a sustainable competitive advantage in the age of convergence
Creating a sustainable competitive advantage in the age of convergenceMatt Mayberry
 
Puidukuivatite simuleerimine
Puidukuivatite simuleeriminePuidukuivatite simuleerimine
Puidukuivatite simuleerimine
Tsenter
 
Myoval2
Myoval2Myoval2
Myoval2
kiuntoro
 
Soal1b
Soal1bSoal1b
Soal1b
kiuntoro
 
HUDA Affordable Housing,Easy in Homes by Tulsiani, Sohna Road Gurgaon
HUDA Affordable Housing,Easy in Homes by Tulsiani, Sohna Road GurgaonHUDA Affordable Housing,Easy in Homes by Tulsiani, Sohna Road Gurgaon
HUDA Affordable Housing,Easy in Homes by Tulsiani, Sohna Road Gurgaon
qnetrex
 

Viewers also liked (20)

Vesco construction buklet
Vesco construction bukletVesco construction buklet
Vesco construction buklet
 
Evolución del TPACK
Evolución del TPACKEvolución del TPACK
Evolución del TPACK
 
Mercantil yetsy
Mercantil yetsyMercantil yetsy
Mercantil yetsy
 
prezi
preziprezi
prezi
 
Second Class Citizen
Second Class CitizenSecond Class Citizen
Second Class Citizen
 
Tecnologias da informação
Tecnologias da informaçãoTecnologias da informação
Tecnologias da informação
 
Inteligencia Artificial liberada
Inteligencia Artificial liberadaInteligencia Artificial liberada
Inteligencia Artificial liberada
 
GraduationMarksheet
GraduationMarksheetGraduationMarksheet
GraduationMarksheet
 
Vaakumis kuivatus konvektiivse soojusülekandega
Vaakumis kuivatus konvektiivse soojusülekandega Vaakumis kuivatus konvektiivse soojusülekandega
Vaakumis kuivatus konvektiivse soojusülekandega
 
Symbaloo presentation
Symbaloo presentationSymbaloo presentation
Symbaloo presentation
 
Myline1
Myline1Myline1
Myline1
 
Educación del siglo XXI
Educación del siglo XXIEducación del siglo XXI
Educación del siglo XXI
 
Polygon
PolygonPolygon
Polygon
 
3D skaneerimine "Kuidas ja milleks?"
3D skaneerimine "Kuidas ja milleks?"3D skaneerimine "Kuidas ja milleks?"
3D skaneerimine "Kuidas ja milleks?"
 
Creating a sustainable competitive advantage in the age of convergence
Creating a sustainable competitive advantage in the age of convergenceCreating a sustainable competitive advantage in the age of convergence
Creating a sustainable competitive advantage in the age of convergence
 
Puidukuivatite simuleerimine
Puidukuivatite simuleeriminePuidukuivatite simuleerimine
Puidukuivatite simuleerimine
 
Myoval2
Myoval2Myoval2
Myoval2
 
2015 Inflatable Pricelist
2015 Inflatable Pricelist2015 Inflatable Pricelist
2015 Inflatable Pricelist
 
Soal1b
Soal1bSoal1b
Soal1b
 
HUDA Affordable Housing,Easy in Homes by Tulsiani, Sohna Road Gurgaon
HUDA Affordable Housing,Easy in Homes by Tulsiani, Sohna Road GurgaonHUDA Affordable Housing,Easy in Homes by Tulsiani, Sohna Road Gurgaon
HUDA Affordable Housing,Easy in Homes by Tulsiani, Sohna Road Gurgaon
 

Similar to Warna rgb

Uts
UtsUts
Warnargb
WarnargbWarnargb
Warnargb
fahlevizha
 
Basis graphics
Basis graphicsBasis graphics
Basis graphics
syahronirpl
 
Basic graphics
Basic graphicsBasic graphics
Basic graphics
kiuntoro
 
Basis graphics
Basis graphicsBasis graphics
Basis graphics
HamimSuyuti
 
Basis grafik
Basis grafikBasis grafik
Basis grafik
ditaerlita
 
Basis graphics
Basis graphicsBasis graphics
Basis graphics
fahlevizha
 
java graphics
java graphicsjava graphics
java graphics
nilaykarade1
 
Applet life cycle
Applet life cycleApplet life cycle
Slides Δικτυακών Υπολογισμών με την Python
Slides Δικτυακών Υπολογισμών με την PythonSlides Δικτυακών Υπολογισμών με την Python
Slides Δικτυακών Υπολογισμών με την Python
Moses Boudourides
 
Computer graphics lab assignment
Computer graphics lab assignmentComputer graphics lab assignment
Computer graphics lab assignment
Abdullah Al Shiam
 
Computer graphics lab manual
Computer graphics lab manualComputer graphics lab manual
Computer graphics lab manual
Uma mohan
 
bfd23fd7-0d89-45c0-8b82-c991b30ed375.pdf
bfd23fd7-0d89-45c0-8b82-c991b30ed375.pdfbfd23fd7-0d89-45c0-8b82-c991b30ed375.pdf
bfd23fd7-0d89-45c0-8b82-c991b30ed375.pdf
shehabhamad_90
 
Computer science project work on C++
Computer science project work on C++Computer science project work on C++
Computer science project work on C++
NARESH KUMAR
 
Tech-1.pptx
Tech-1.pptxTech-1.pptx
Tech-1.pptx
HussainPashaShaik1
 
golang_getting_started.pptx
golang_getting_started.pptxgolang_getting_started.pptx
golang_getting_started.pptx
Guy Komari
 
Ανάλυση Δικτύων με το NetworkX της Python: Μια προκαταρκτική (αλλά ημιτελής ω...
Ανάλυση Δικτύων με το NetworkX της Python: Μια προκαταρκτική (αλλά ημιτελής ω...Ανάλυση Δικτύων με το NetworkX της Python: Μια προκαταρκτική (αλλά ημιτελής ω...
Ανάλυση Δικτύων με το NetworkX της Python: Μια προκαταρκτική (αλλά ημιτελής ω...
Moses Boudourides
 
Graphics in C++
Graphics in C++Graphics in C++
Graphics in C++
Ahsan Mughal
 

Similar to Warna rgb (20)

Uts
UtsUts
Uts
 
Warnargb
WarnargbWarnargb
Warnargb
 
Basis graphics
Basis graphicsBasis graphics
Basis graphics
 
Basic graphics
Basic graphicsBasic graphics
Basic graphics
 
Basis graphics
Basis graphicsBasis graphics
Basis graphics
 
Basis grafik
Basis grafikBasis grafik
Basis grafik
 
Basis graphics
Basis graphicsBasis graphics
Basis graphics
 
java graphics
java graphicsjava graphics
java graphics
 
Applet life cycle
Applet life cycleApplet life cycle
Applet life cycle
 
Slides Δικτυακών Υπολογισμών με την Python
Slides Δικτυακών Υπολογισμών με την PythonSlides Δικτυακών Υπολογισμών με την Python
Slides Δικτυακών Υπολογισμών με την Python
 
Computer graphics lab assignment
Computer graphics lab assignmentComputer graphics lab assignment
Computer graphics lab assignment
 
Computer graphics lab manual
Computer graphics lab manualComputer graphics lab manual
Computer graphics lab manual
 
bfd23fd7-0d89-45c0-8b82-c991b30ed375.pdf
bfd23fd7-0d89-45c0-8b82-c991b30ed375.pdfbfd23fd7-0d89-45c0-8b82-c991b30ed375.pdf
bfd23fd7-0d89-45c0-8b82-c991b30ed375.pdf
 
Computer science project work on C++
Computer science project work on C++Computer science project work on C++
Computer science project work on C++
 
Tech-1.pptx
Tech-1.pptxTech-1.pptx
Tech-1.pptx
 
golang_getting_started.pptx
golang_getting_started.pptxgolang_getting_started.pptx
golang_getting_started.pptx
 
662305 LAB12
662305 LAB12662305 LAB12
662305 LAB12
 
Ανάλυση Δικτύων με το NetworkX της Python: Μια προκαταρκτική (αλλά ημιτελής ω...
Ανάλυση Δικτύων με το NetworkX της Python: Μια προκαταρκτική (αλλά ημιτελής ω...Ανάλυση Δικτύων με το NetworkX της Python: Μια προκαταρκτική (αλλά ημιτελής ω...
Ανάλυση Δικτύων με το NetworkX της Python: Μια προκαταρκτική (αλλά ημιτελής ω...
 
Graphics in C++
Graphics in C++Graphics in C++
Graphics in C++
 
C
CC
C
 

More from kiuntoro

Makalah Komgraf
Makalah KomgrafMakalah Komgraf
Makalah Komgraf
kiuntoro
 
Presentasi makalah
Presentasi makalahPresentasi makalah
Presentasi makalah
kiuntoro
 
Soal2
Soal2Soal2
Soal2
kiuntoro
 
Soal1a
Soal1aSoal1a
Soal1a
kiuntoro
 
Satutitikhilang
SatutitikhilangSatutitikhilang
Satutitikhilang
kiuntoro
 
Myline2d
Myline2dMyline2d
Myline2d
kiuntoro
 
Lampu(kreatifitas)
Lampu(kreatifitas)Lampu(kreatifitas)
Lampu(kreatifitas)
kiuntoro
 
Font1
Font1Font1
Font1
kiuntoro
 
Font
FontFont
Font
kiuntoro
 
Program project khusus
Program project khususProgram project khusus
Program project khusus
kiuntoro
 
Myline3
Myline3Myline3
Myline3
kiuntoro
 
Myline
MylineMyline
Myline
kiuntoro
 
Line2
Line2Line2
Line2
kiuntoro
 
Kotak
KotakKotak
Kotak
kiuntoro
 
Grafikbatang
GrafikbatangGrafikbatang
Grafikbatang
kiuntoro
 
Grafik
GrafikGrafik
Grafik
kiuntoro
 
Garis
GarisGaris
Garis
kiuntoro
 
Drawoval
DrawovalDrawoval
Drawoval
kiuntoro
 
Bintang2
Bintang2Bintang2
Bintang2
kiuntoro
 
Bintang
BintangBintang
Bintang
kiuntoro
 

More from kiuntoro (20)

Makalah Komgraf
Makalah KomgrafMakalah Komgraf
Makalah Komgraf
 
Presentasi makalah
Presentasi makalahPresentasi makalah
Presentasi makalah
 
Soal2
Soal2Soal2
Soal2
 
Soal1a
Soal1aSoal1a
Soal1a
 
Satutitikhilang
SatutitikhilangSatutitikhilang
Satutitikhilang
 
Myline2d
Myline2dMyline2d
Myline2d
 
Lampu(kreatifitas)
Lampu(kreatifitas)Lampu(kreatifitas)
Lampu(kreatifitas)
 
Font1
Font1Font1
Font1
 
Font
FontFont
Font
 
Program project khusus
Program project khususProgram project khusus
Program project khusus
 
Myline3
Myline3Myline3
Myline3
 
Myline
MylineMyline
Myline
 
Line2
Line2Line2
Line2
 
Kotak
KotakKotak
Kotak
 
Grafikbatang
GrafikbatangGrafikbatang
Grafikbatang
 
Grafik
GrafikGrafik
Grafik
 
Garis
GarisGaris
Garis
 
Drawoval
DrawovalDrawoval
Drawoval
 
Bintang2
Bintang2Bintang2
Bintang2
 
Bintang
BintangBintang
Bintang
 

Recently uploaded

GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
Product School
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 

Recently uploaded (20)

GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdfFIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
FIDO Alliance Osaka Seminar: The WebAuthn API and Discoverable Credentials.pdf
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 

Warna rgb

  • 1. Nama: Kiuntoro NPM: 201243501128 Kelas: R7H Mata Kuliah: Komputer Grafik Dosen: Nahot Frastian, M.Kom Universitas: Universitas Indraprasta PGRI Program: warna RGB Input: import java.applet.Applet; import java.awt.Graphics; import java.awt.Color; import java.awt.Font; public class WARNARGB extends java.applet.Applet { public void paint (Graphics g){ g.setColor (Color.red); g.fillRoundRect (0,0,100,100,12,12);
  • 2. g.setColor (Color.green); g.fillRoundRect (0,100,100,100,12,12); g.setColor (Color.blue); g.fillRoundRect (0,200,100,100,12,12); g.setColor (Color.cyan); g.fillRoundRect (0,300,100,100,12,12); g.setColor (Color.magenta); g.fillRoundRect (0,400,100,100,12,12); g.setColor (Color.yellow); g.fillRoundRect (0,500,100,100,12,12); g.setColor (Color.black); g.fillRoundRect (0,600,100,100,12,12); g.setColor (Color.green); g.fillRoundRect (100,0,100,100,12,12); g.setColor (Color.red); g.fillRoundRect (100,100,100,100,12,12); g.setColor (Color.green);
  • 3. g.fillRoundRect (100,200,100,100,12,12); g.setColor (Color.blue); g.fillRoundRect (100,300,100,100,12,12); g.setColor (Color.cyan); g.fillRoundRect (100,400,100,100,12,12); g.setColor (Color.magenta); g.fillRoundRect (100,500,100,100,12,12); g.setColor (Color.yellow); g.fillRoundRect (100,600,100,100,12,12); g.setColor (Color.blue); g.fillRoundRect (200,0,100,100,12,12); g.setColor (Color.green); g.fillRoundRect (200,100,100,100,12,12); g.setColor (Color.red); g.fillRoundRect (200,200,100,100,12,12); g.setColor (Color.green); g.fillRoundRect (200,300,100,100,12,12);
  • 4. g.setColor (Color.blue); g.fillRoundRect (200,400,100,100,12,12); g.setColor (Color.cyan); g.fillRoundRect (200,500,100,100,12,12); g.setColor (Color.magenta); g.fillRoundRect (200,600,100,100,12,12); g.setColor (Color.cyan); g.fillRoundRect (300,0,100,100,12,12); g.setColor (Color.blue); g.fillRoundRect (300,100,100,100,12,12); g.setColor (Color.green); g.fillRoundRect (300,200,100,100,12,12); g.setColor (Color.red); g.fillRoundRect (300,300,100,100,12,12); g.setColor (Color.green); g.fillRoundRect (300,400,100,100,12,12);
  • 5. g.setColor (Color.blue); g.fillRoundRect (300,500,100,100,12,12); g.setColor (Color.cyan); g.fillRoundRect (300,600,100,100,12,12); g.setColor (Color.magenta); g.fillRoundRect (400,0,100,100,12,12); g.setColor (Color.cyan); g.fillRoundRect (400,100,100,100,12,12); g.setColor (Color.blue); g.fillRoundRect (400,200,100,100,12,12); g.setColor (Color.green); g.fillRoundRect (400,300,100,100,12,12); g.setColor (Color.red); g.fillRoundRect (400,400,100,100,12,12); g.setColor (Color.green); g.fillRoundRect (400,500,100,100,12,12); g.setColor (Color.blue);
  • 6. g.fillRoundRect (400,600,100,100,12,12); g.setColor (Color.yellow); g.fillRoundRect (500,0,100,100,12,12); g.setColor (Color.magenta); g.fillRoundRect (500,100,100,100,12,12); g.setColor (Color.cyan); g.fillRoundRect (500,200,100,100,12,12); g.setColor (Color.blue); g.fillRoundRect (500,300,100,100,12,12); g.setColor (Color.green); g.fillRoundRect (500,400,100,100,12,12); g.setColor (Color.red); g.fillRoundRect (500,500,100,100,12,12); g.setColor (Color.green); g.fillRoundRect (500,600,100,100,12,12); g.setColor (Color.black); g.fillRoundRect (600,0,100,100,12,12);
  • 7. g.setColor (Color.yellow); g.fillRoundRect (600,100,100,100,12,12); g.setColor (Color.magenta); g.fillRoundRect (600,200,100,100,12,12); g.setColor (Color.cyan); g.fillRoundRect (600,300,100,100,12,12); g.setColor (Color.blue); g.fillRoundRect (600,400,100,100,12,12); g.setColor (Color.green); g.fillRoundRect (600,500,100,100,12,12); g.setColor (Color.red); g.fillRoundRect (600,600,100,100,12,12); g.setColor (Color.orange); Font fr=new Font ("Calibri",Font.BOLD,70); g.setFont (fr); g.drawString ("Komputer Grafik",108,280); Font fr1=new Font ("Calibri",Font.BOLD,48); g.setFont(fr1);
  • 8. g.drawString ("Dosen: Nahot Frastian, M.Kom",40,360); } }
  • 9.
  • 10. Proses: 1) f illRoundRect berwarna merah dengan x=0,y=0,width=100,height=100,xdiam=12,ydiam=12 2) fillRoundRect berwarna hijau dengan x=0,y=100,width=100,height=100,xdiam=12,ydiam=12 3) fillRoundRect berwarna biru dengan x=0,y=200,width=100,height=100,xdiam=12,ydiam=12 4) fillRoundRect berwarna cyan dengan x=0,y=300,width=100,height=100,xdiam=12,ydiam=12
  • 11. 5) fillRoundRect berwarna magenta dengan x=0,y=400,width=100,height=100,xdiam=12,ydiam=12 6) fillRoundRect berwarna kuning dengan x=0,y=500,width=100,height=100,xdiam=12,ydiam=12 7) fillRoundRect berwarna hitam dengan x=0,y=600,width=100,height=100,xdiam=12,ydiam=12 8) fillRoundRect berwarna hijau dengan x=100,y=0,width=100,height=100,xdiam=12,ydiam=12 9) fillRoundRect berwarna merah dengan x=100,y=100,width=100,height=100,xdiam=12,ydiam=12 10) Dari rincian 1-9 memberitahu bahwa kita membuat fillRoundRect dengan width, height, xdiam, dan ydiam yang sama tetapi dengan nilai x dan y yang saling berbeda sesuai dengan letak yang kita inginkan serta dengan warna yg berbeda sesuai dengan kita inginkan 11) drawString dengan string "Komputer Grafik",pada koordinat x=108,y=280 dengan warna font orange dan dengan jenis font Calibri yang dipertebal dengan ukuran font 48 12) drawString dengan string Dosen: Nahot Frastian, M.Kom"pada koordinat x=108,y=280 dengan warna font orange dan dengan jenis font Calibri yang dipertebal dengan ukuran font 48 Output: