Português
Se você tiver uma boa música de fundo, o efeito será ainda mais chocante
<!-- website:http://www.downcodes.com --> <!-- bbs:http://bbs.downcodes.com --> <!- - O código HTML completo é o seguinte --> <HTML> <HEAD> <title>Exibição de efeito de terror de imagem (Website Building Academy)</title> <meta name="Author" content="http:// www.downcodes.com" > <meta http-equiv="imagetoolbar" content="no"> <STYLE> BODY { cursor:url("../CRCROSS.cur"); } </STYLE> </HEAD> <BODY bgColor=#000000 scroll=no onload="zyva()"> <DIV id=load style="font-family:courier;font-size:11pt;color:#FFFFFF">Carregando... Aguarde. ..</DIV> <DIV id=images style="display:none"> <IMG src=""> </DIV> <!-- Layout DAControl --> <OBJECT id=DAControl style="position:absolute ;Z-INDEX: - 1; largura=expressão(document.body.offsetWidth);altura=expressão(document.body.offsetHeight*.66);esquerda=0;top=expressão((document.body.offsetHeight-(documento .body.offsetHeight *. 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, programa de função PerCamDA(){ m = DAControl.MeterLibrary // geometria quadrada (2 triângulos) square=m.TriMesh (2, new Array(1 ,0,-1, -1,0,-1,-1,0,1,1,0,-1,-1,0,1,1,0,1), nova matriz (0,1,0 ,0,1,0 ,0,1,0,0,1,0,0,1,0,0,1,0), nova matriz (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)) // posicionar faces addFace(0 , m.xVector3,Math .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,-Math. PI/2, 0,0,0,05) // rotação geo = geo.Transform(m.Rotate3Rate(m.xVector3, 0,5)).Transform(m.Rotate3Rate(m.yVector3, 0,1)) .Transform(m.Rotate3Rate (m.zVector3, 0.1)) // câmera PerCam = m.ModifiableBehavior(m.PerspectiveCamera(0.05,0.04)) // renderização DAControl.Image = geo.render(PerCam) } função addFace(i , v1,r1, v2 ,r2, tx,ty,tz){ // importar imagem htmlTexture = m.ImportImage(images.children[i].src).MapToUnitSquare() img = square.TextureImage(htmlTexture) // orientação face geo = m.UnionGeometry (geo,img.Transform(m.Rotate3(v2,r2)).Transform(m.Translate3(tx,ty,tz)).Transform(m.Rotate3(v1,r1))) } document.onmousemove = function(){ // movimento do mouse xm = window.event.x ym = Math.abs(window.event.y - (document.body.offsetHeight*.5)) } function Om(){ // --- alterar a distância focal 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))) } // --- iniciar ------ função zyva(){ programDA() DAControl.Start() load.style.visibility="hidden" setInterval("Om ()",16) } // ---------------------- </SCRIPT> </BODY></HTML>