{"_id":"@citizenfx/three","_rev":"4-1569c1e1690cea5c9ad1847fd6af0c34","name":"@citizenfx/three","dist-tags":{"latest":"0.100.0"},"versions":{"0.100.0":{"name":"@citizenfx/three","version":"0.100.0","description":"JavaScript 3D library","main":"build/three.js","repository":{"type":"git","url":"git+https://github.com/citizenfx/three.js.git"},"jsnext:main":"build/three.module.js","module":"build/three.module.js","directories":{"doc":"docs","example":"examples","test":"test"},"eslintConfig":{"extends":"mdcs","plugins":["html"]},"scripts":{"build":"rollup -c","build-test":"rollup -c test/rollup.unit.config.js","build-closure":"rollup -c && java -jar node_modules/google-closure-compiler-java/compiler.jar --warning_level=VERBOSE --jscomp_off=globalThis --jscomp_off=checkTypes --externs utils/build/externs.js --language_in=ECMASCRIPT5_STRICT --js build/three.js --js_output_file build/three.min.js","build-examples":"rollup -c rollup-examples.config.js","dev":"concurrently --names \"ROLLUP,HTTP\" -c \"bgBlue.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"http-server -c-1 -p 8080\"","dev-test":"concurrently --names \"ROLLUP,ROLLUPTEST,HTTP\" -c \"bgBlue.bold,bgRed.bold,bgGreen.bold\" \"rollup -c -w -m inline\" \"rollup -c test/rollup.unit.config.js -w -m inline\" \"http-server -p 8080\"","start":"npm run dev","lint":"eslint src","test":"npm run build-test && qunit test/unit/three.source.unit.js","travis":"npm run lint && npm test","editor":"electron ./editor/main.js"},"keywords":["three","three.js","3d","webgl"],"author":{"name":"mrdoob"},"license":"MIT","bugs":{"url":"https://github.com/mrdoob/three.js/issues"},"homepage":"https://threejs.org/","devDependencies":{"concurrently":"^4.1.0","electron":"^4.0.0","eslint":"^5.11.1","eslint-config-mdcs":"^4.2.3","eslint-plugin-html":"^5.0.0","google-closure-compiler":"20181210.0.0","http-server":"^0.11.1","qunit":"^2.8.0","rollup":"^1.0.0"},"jspm":{"files":["package.json","LICENSE","README.md","build/three.js","build/three.min.js","build/three.module.js"],"directories":{}},"gitHead":"79f0dc5f171633e9a73a6884e6a2e51ed8bfe2bc","_id":"@citizenfx/three@0.100.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.3","_npmUser":{"name":"blattersturm","email":"peachypies@protonmail.ch"},"dist":{"integrity":"sha512-qiJHVGNzhGfZP+poq4X3m9cDoi4H1mK4UgfbBTZoHmtSIiDRAIYEWsb93MHst+ADHtn0vJ8msMRQaAHC3horSA==","shasum":"ac605a1f86863e25e5b3c50d9ae80a2ef2a2e361","tarball":"https://registry.npmjs.org/@citizenfx/three/-/three-0.100.0.tgz","fileCount":730,"unpackedSize":16359202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPNZMCRA9TVsSAnZWagAAsC8P/jTAh6yOpFNqoB5TfZ9B\nIEYnLllIRgpSMhAlFnR4Wt3aKxfwi/591xOrrohbsXmRmJLl7ovyM0y1lbRV\nBSCauoeRE5XcPRPqpsCu66UjdHt+JBOsNX+0zx6DVHqnBtRwG/UwHXfH609i\nfH+hZsi3yOWIKh67Redc71qUZQLNfCwjPZgx5taISFWnsgtghzTpHqjfKdES\noDcIDVvPuMwmmLKcz93Ad7VrbXCX7TSLGyrmSx46YruIZvlfNLtnERk8/9Cv\ns+4IJ56Ok0eAlUlz2Cr6TTE3orL4L4WUFxXo45yx02dLzVDGhZmL+eW3JFy6\nlwrj0kS4M7SgRxSkfnj5hkM7Td7F4mmcDdVLEYt7pNLtbTl2kjn9gFbp8Siy\nxxZd2yecCpvAO8Xm706tPtBixgKu8l8ZucNiBU95yw30xnal3kBSgzkRNHMW\nrFJHraGZ6tbAD5zcia58DzT6XLC1CzaUlHB2VZ2dRBzVRXBGoTHgxG81ktF5\nOTMXKnyWWSIi9nGO+IR+936n9fOUtTpg6RP6OIexk2n0VPNZZYqIo3YtWTtK\nRE4f4Xfl7i4yzAVnnBic1t81uRhulrJlXI6/t0HnyK6Kxc+OTkudgwU61C8a\nSilggAt8bBDuPRVvFAcK6VsSHM3+rgjyNJGeQV+ZKoULOP7wtQpa2Ey4ohkp\nFPlm\r\n=munw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFx+HAAFp+qLhScnuRqLa6LqYc+bmnFBUObyGd3rN9FtAiB1GzfVvrLMO3X0/uj5S27kpEFIDcVojYekocA6JCFXgA=="}]},"maintainers":[{"name":"blattersturm","email":"peachypies@protonmail.ch"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/three_0.100.0_1547490891083_0.9567941754684479"},"_hasShrinkwrap":false}},"time":{"created":"2019-01-14T18:34:51.007Z","0.100.0":"2019-01-14T18:34:51.339Z","modified":"2023-10-04T14:35:43.404Z"},"maintainers":[{"email":"aleksandr.kukhta@rockstargames.com","name":"nihonium-x"},{"email":"silas.dich@rockstarnorth.com","name":"silas-x"}],"description":"JavaScript 3D library","homepage":"https://threejs.org/","keywords":["three","three.js","3d","webgl"],"repository":{"type":"git","url":"git+https://github.com/citizenfx/three.js.git"},"author":{"name":"mrdoob"},"bugs":{"url":"https://github.com/mrdoob/three.js/issues"},"license":"MIT","readme":"three.js\r\n========\r\n\r\n[![NPM package][npm]][npm-url]\r\n[![Build Size][build-size]][build-size-url]\r\n[![Build Status][build-status]][build-status-url]\r\n[![Dependencies][dependencies]][dependencies-url]\r\n[![Dev Dependencies][dev-dependencies]][dev-dependencies-url]\r\n[![Language Grade][lgtm]][lgtm-url]\r\n\r\n#### JavaScript 3D library ####\r\n\r\nThe aim of the project is to create an easy to use, lightweight, 3D library. The library provides Canvas 2D, SVG, CSS3D and WebGL renderers.\r\n\r\n[Examples](http://threejs.org/examples/) &mdash;\r\n[Documentation](http://threejs.org/docs/) &mdash;\r\n[Wiki](https://github.com/mrdoob/three.js/wiki) &mdash;\r\n[Migrating](https://github.com/mrdoob/three.js/wiki/Migration-Guide) &mdash;\r\n[Questions](http://stackoverflow.com/questions/tagged/three.js) &mdash;\r\n[Forum](https://discourse.threejs.org/) &mdash;\r\n[Gitter](https://gitter.im/mrdoob/three.js) &mdash;\r\n[Slack](https://threejs-slack.herokuapp.com/)\r\n\r\n### Usage ###\r\n\r\nDownload the [minified library](http://threejs.org/build/three.min.js) and include it in your HTML, or install and import it as a [module](http://threejs.org/docs/#manual/introduction/Import-via-modules),\r\nAlternatively see [how to build the library yourself](https://github.com/mrdoob/three.js/wiki/Build-instructions).\r\n\r\n```html\r\n<script src=\"js/three.min.js\"></script>\r\n```\r\n\r\nThis code creates a scene, a camera, and a geometric cube, and it adds the cube to the scene. It then creates a `WebGL` renderer for the scene and camera, and it adds that viewport to the document.body element. Finally, it animates the cube within the scene for the camera.\r\n\r\n```javascript\r\nvar camera, scene, renderer;\r\nvar geometry, material, mesh;\r\n\r\ninit();\r\nanimate();\r\n\r\nfunction init() {\r\n\r\n\tcamera = new THREE.PerspectiveCamera( 70, window.innerWidth / window.innerHeight, 0.01, 10 );\r\n\tcamera.position.z = 1;\r\n\r\n\tscene = new THREE.Scene();\r\n\r\n\tgeometry = new THREE.BoxGeometry( 0.2, 0.2, 0.2 );\r\n\tmaterial = new THREE.MeshNormalMaterial();\r\n\r\n\tmesh = new THREE.Mesh( geometry, material );\r\n\tscene.add( mesh );\r\n\r\n\trenderer = new THREE.WebGLRenderer( { antialias: true } );\r\n\trenderer.setSize( window.innerWidth, window.innerHeight );\r\n\tdocument.body.appendChild( renderer.domElement );\r\n\r\n}\r\n\r\nfunction animate() {\r\n\r\n\trequestAnimationFrame( animate );\r\n\r\n\tmesh.rotation.x += 0.01;\r\n\tmesh.rotation.y += 0.02;\r\n\r\n\trenderer.render( scene, camera );\r\n\r\n}\r\n```\r\n\r\nIf everything went well you should see [this](https://jsfiddle.net/f2Lommf5/).\r\n\r\n### Change log ###\r\n\r\n[Releases](https://github.com/mrdoob/three.js/releases)\r\n\r\n\r\n[npm]: https://img.shields.io/npm/v/three.svg\r\n[npm-url]: https://www.npmjs.com/package/three\r\n[build-size]: https://badgen.net/bundlephobia/minzip/three\r\n[build-size-url]: https://bundlephobia.com/result?p=three\r\n[build-status]: https://travis-ci.org/mrdoob/three.js.svg?branch=dev\r\n[build-status-url]: https://travis-ci.org/mrdoob/three.js\r\n[dependencies]: https://img.shields.io/david/mrdoob/three.js.svg\r\n[dependencies-url]: https://david-dm.org/mrdoob/three.js\r\n[dev-dependencies]: https://img.shields.io/david/dev/mrdoob/three.js.svg\r\n[dev-dependencies-url]: https://david-dm.org/mrdoob/three.js#info=devDependencies\r\n[lgtm]: https://img.shields.io/lgtm/grade/javascript/g/mrdoob/three.js.svg?label=code%20quality\r\n[lgtm-url]: https://lgtm.com/projects/g/mrdoob/three.js/\r\n","readmeFilename":"README.md"}