装X代码

  装X代码

  

  http://hackcode.ishoulu.com/scp/

  http://hackcode.ishoulu.com/umbrella/

  http://hackcode.ishoulu.com/aperture/

  http://hackcode.ishoulu.com/combine/

  http://hackcode.ishoulu.com/blackmesa/

  http://hackcode.ishoulu.com/linux/

  打开这些网页之后,随便在键盘上打字就会在屏幕上出现各种代码了,记得按下 F11 (Windows) 或 ?-Shift-F(Mac) 将浏览器全屏显示,这样装 X 效果更好!

  另外,按下数字小键盘的 / * - + 2 8 0 等按键可以弹出不同的特效,譬如出现登录成功、登录失败、雷达扫描、导弹发射等等效果,按下 ESC 可以移除它们。

  注意,推荐使用 Chrome、FireFox、IE11 等比较先进的浏览器进行访问,如果还在使用 IE6 之类的老旧浏览器可能效果会不正常。

  写在后面:

  话说有了这货,以后国内拍电视剧、电影神马的需要用到黑客桥段时,就不用老是再用 dos 界面打dir了……虽然说虽然这货实际上屁用没有,但偶尔玩一玩还是很欢乐的。如果你是准备入门学习的准程序员,可能每天打开这个网站几分钟,说不定从此还能让你更自信了……

  from :http://www.iplaysoft.com/hackertyper.html

  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
这里提供一个简单的 threejs 实现组模型的代码示例: ```js // 创建场景 const scene = new THREE.Scene(); // 创建相机 const camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 0.1, 1000 ); camera.position.z = 5; // 创建渲染器 const renderer = new THREE.WebGLRenderer(); renderer.setSize(window.innerWidth, window.innerHeight); document.body.appendChild(renderer.domElement); // 创建物体 const geometry = new THREE.BoxGeometry(1, 1, 1); const material = new THREE.MeshBasicMaterial({ color: 0x00ff00 }); const cube = new THREE.Mesh(geometry, material); // 将物体添加到场景中 scene.add(cube); // 创建控制器 const controls = new THREE.OrbitControls(camera, renderer.domElement); // 渲染场景 function animate() { requestAnimationFrame(animate); renderer.render(scene, camera); } animate(); // 组模型 function assembleModel() { const cylinderGeometry = new THREE.CylinderGeometry(0.5, 0.5, 2, 32); const cylinderMaterial = new THREE.MeshBasicMaterial({ color: 0xff0000 }); const cylinder = new THREE.Mesh(cylinderGeometry, cylinderMaterial); const sphereGeometry = new THREE.SphereGeometry(1, 32, 32); const sphereMaterial = new THREE.MeshBasicMaterial({ color: 0x0000ff }); const sphere = new THREE.Mesh(sphereGeometry, sphereMaterial); cylinder.position.x = -2; sphere.position.x = 2; cube.add(cylinder); cube.add(sphere); } // 调用组模型函数 assembleModel(); ``` 这段代码先创建了一个场景、相机和渲染器,然后创建了一个方块物体并将其添加到场景中。然后使用 OrbitControls 控制器实现交互控制,最后定义了一个组模型的函数,将圆柱体和球体添加到方块物体中。最后调用组模型函数即可。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值