This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Rabu, 23 Oktober 2013

membuat mobil menggunakan Notepad

<?php header("Content-type:image/jpeg"); $image=@imagecreate(500,500); imagecolorallocate($image,255,155,0); $ungu=imagecolorallocate($image,0,0,0); $red=imagecolorallocate($image,255,0,0); $hijau=imagecolorallocate($image,80,10,55); $putih=imagecolorallocate($image,255,255,255); $biru=imagecolorallocate($image,0,0,255); $green=imagecolorallocate($image,80,255,0); imagefilledrectangle($image,100,100,295,40,$red); imagefilledellipse($ima...

membuat rectangle dengan notepad

<?php header("Content-type:image/png"); $gambar = imagecreate(300,300); $coklat = imagecolorallocate($gambar,255, 155, 000); $putih = imagecolorallocate($gambar,000, 000, 000); $x1 =10;$x2 = 200; $y1 =290; $y2 = 290; $l1 =50; $l2 = 150; $t1 =100; $t2 = 100; imagerectangle($gambar,$x1,$y1,$l1,$t1,$putih); imagefilledrectangle($gambar,$x2,$y2,$l2,$t2,$putih); imagepng($gambar); ?&g...

membuat ellips dengan notepad

<?php header("Content-type:image/png"); $gambar = imagecreate(300,300); $coklat = imagecolorallocate($gambar,255, 155, 000); $putih = imagecolorallocate($gambar,000, 000, 000); $x1 =50;$x2 = 200; $y1 =250; $y2 = 250; $l1 =50; $l2 = 70; $t1 =100; $t2 = 100; imageellipse($gambar,$x1,$y1,$l1,$t1,$putih); imagefilledellipse($gambar,$x2,$y2,$l2,$t2,$putih); imagepng($gambar); ?>...

Rabu, 16 Oktober 2013

membuat segitiga sembarang dengan php

Mata Kuliah Grafika Komputer membuat segitiga sembarang menggunakan php dan kita memanggil mengguuanakan localhost. <? Header("Content-Type:image/png"); //membuat canvas $img = ImageCreate(300,300); $coklat = ImageColorAllocate($img,255,155,0); $putih = ImageColorAllocate($img,255,255,255); $x1 = 10;$x2 =150;$x3 = 200; $y1 = 50;$y2 = 100;$y3 = 270; ImageLine($img,$x1,$y1,$x2,$y2,$putih); ImageLine($img,$x2,$y2,$x3,$y3,$putih); ImageLine($...

membuat segi empat dengan php

Mata Kuliah Grafika Komputer membuat segi empat menggunakan notepad++ atau dreamwever... dan dipanggil dengan menggunakan localhost  <? Header("Content-Type:image/png"); //membuat canvas  $img = ImageCreate(300,300); $coklat = ImageColorAllocate($img,255,155,0); $putih = ImageColorAllocate($img,255,255,255); $x1 = 10;$x2 =10;$x3 = 250; $x4= 250; $y1 = 10;$y2 = 250;$y3 = 10; $y4=250; ImageLine($img,$x1,$y1,$x2,$y2,$put...

membuat segitiga dengan php

Mata Kuliah Grafika Komputer Membuat Segitiga Sama Sisi <? Header("Content-Type:image/png"); //membuat canvas $img = ImageCreate(300,300); $coklat = ImageColorAllocate($img,255,155,0); $putih = ImageColorAllocate($img,255,255,255); $x1 = 300;$x2 =150;$x3 = 150; $y1 = 150;$y2 = 100;$y3 = 270; ImageLine($img,$x1,$y1,$x2,$y2,$putih); ImageLine($img,$x2,$y2,$x3,$y3,$putih); ImageLine($img,$x3,$y3,$x1,$y1,$putih); Imagepng($img); ?&...

Membuat Garis dengan PHP

Materi kuliah Grafika Komputer Membuat Garis dengan PHP <? Header("Content-Type:image/PNG"); $img = ImageCreate(300,300); $coklat = ImageColorAllocate($img,255,155,0); $putih = ImageColorAllocate($img,255,255,255); ImageLine($img,0,0,300/2,300/2,$putih); ImageJPEG($img); ?&...