Indonesia
Jika Anda memiliki musik latar yang bagus, efeknya akan lebih mengejutkan
<!-- website:http://www.downcodes.com --> <!-- bbs:http://bbs.downcodes.com --> <!- - Kode HTML selengkapnya adalah sebagai berikut --> <HTML> <HEAD> <title>Tampilan Gambar Efek Horor (Website Building Academy)</title> <meta name="Author" content="http:// www.downcodes.com" > <meta http-equiv="imagetoolbar" content="no"> <GAYA> BODY { kursor:url("../CRCROSS.cur"); } </STYLE> </HEAD> <BODY bgColor=#000000 scroll=no onload="zyva()"> <DIV id=load style="font-family:courier;font-size:11pt;color:#FFFFFF">Memuat... Harap tunggu. ..</DIV> <DIV id=images style="display:none"> <IMG src=""> </DIV> <!-- Tata letak DAControl --> <OBJECT id=DAControl style="position:absolute ;Z-INDEX: - 1; lebar=ekspresi(document.body.offsetWidth);height=ekspresi(document.body.offsetHeight*.66);kiri=0;top=ekspresi((document.body.offsetHeight-(dokumen .body.offsetHeight*.66))/2)" classid=CLSID:B6FFC24C-7E13-11D0-9B47-00C04FC2F51D> <PARAM NAME="OpaqueForHitDetect" VALUE="0"> <PARAM NAME="UpdateInterval" VALUE=" 0.030"> </OBJECT > <!-- muzzik --> <BGSOUND balance=0 src="dgate014.mid" volume=0 loop=infinite> <SCRIPT> // ========== ====== ======= //http://www .downcodes.com // ============== ====== ==== var xm=ym=0 var m, fungsi PerCam programDA(){ m = DAControl.MeterLibrary // geometri persegi (2 segitiga) square=m.TriMesh (2, Array baru(1 ,0,-1, -1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,1), Array baru(0,1,0 ,0,1,0 ,0,1,0,0,1,0,0,1,0,0,1,0), Array baru(1,1,0,1,0,0,1,1 ,0,0,1 ,0), null) square = square.Transform(m.Scale3Uniform(0.05)) // light geo = m.AmbientLight.LightColor(m.colorRgb255(255.255.255)) // posisi wajah addFace(0 , m.xVector3,Matematika .PI/2, m.zVector3,Math.PI/2, 0.05,0,0) addFace(0, m.zVector3,0, m.zVector3,0 , 0,-0.05,0) addFace(0, m.yVector3,-Math.PI, m.xVector3,-Math.PI, 0,0.05,0) addFace(0, m.xVector3,Math.PI/2, m.zVector3,-Math.PI /2, -0,05, 0,0) addFace(0, m.zVector3,0, m.xVector3,Math.PI/2, 0,0,-0.05) addFace(0, m.zVector3,Math.PI, m .xVector3,-Matematika.PI/2, 0,0,0.05) // rotasi geo = geo.Transform(m.Rotate3Rate(m.xVector3, 0.5)).Transform(m.Rotate3Rate(m.yVector3, 0.1)) .Transform(m.Rotate3Rate (m.zVector3, 0.1)) // kamera PerCam = m.ModifyingBehavior(m.PerspectiveCamera(0.05,0.04)) // rendering DAControl.Image = geo.render(PerCam) } function addFace(i , v1,r1, v2 ,r2, tx,ty,tz){ // impor gambar htmlTexture = m.ImportImage(images.children[i].src).MapToUnitSquare() img = square.TextureImage(htmlTexture) // orientasi wajah geo = m.UnionGeometry (geo,img.Transform(m.Rotate3(v2,r2)).Transform(m.Translate3(tx,ty,tz)).Transform(m.Rotate3(v1,r1))) } document.onmousemove = function( ){ // gerakan mouse xm = window.event.x ym = Math.abs(window.event.y - (document.body.offsetHeight*.5)) } function Om(){ // --- ubah Panjang fokus p=0,005+ym/5000 PerCam.SwitchTo(m.PerspectiveCamera(p,p-0.001).Transform(m.Translate3(0,0,-p/4)).Transform(m.Rotate3 (m.yVector3,xm /100))) } // --- mulai ------ fungsi zyva(){ programDA() DAControl.Start() load.style.visibility="hidden" setInterval("Om ()",16) } // ---------------------- </SCRIPT> </BODY></HTML>