diff --git a/.gitignore b/.gitignore index 9b160b3..85580ad 100644 --- a/.gitignore +++ b/.gitignore @@ -1,81 +1,8 @@ # Builds dist/ -examples/js/three.quarks.esm.js -examples/js/three.module.js -examples/js/examples -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* - -# Caches -.rpt2_cache/ - -# Runtime data -pids -*.pid -*.seed -*.pid.lock - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# Bower dependency directory (https://bower.io/) -bower_components - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (https://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules/ -jspm_packages/ - -# TypeScript v1 declaration files -typings/ - -# Optional npm cache directory -.npm - -# Optional eslint cache -.eslintcache - -# Optional REPL history -.node_repl_history - -# Output of 'npm pack' -*.tgz - -# Yarn Integrity file -.yarn-integrity - -# dotenv environment variables file -.env - -# next.js build output -.next - -# System File -.DS_Store - -# Project file +# Project .idea/ -.vscode/ -/example/three.quarks.min.js -# Doc -docs/ +# Dependency directories +node_modules/ \ No newline at end of file diff --git a/lerna.json b/lerna.json new file mode 100644 index 0000000..f6604bd --- /dev/null +++ b/lerna.json @@ -0,0 +1,4 @@ +{ + "$schema": "node_modules/lerna/schemas/lerna-schema.json", + "version": "0.0.0" +} diff --git a/.babelrc b/packages/three.quarks/.babelrc similarity index 100% rename from .babelrc rename to packages/three.quarks/.babelrc diff --git a/.eslintignore b/packages/three.quarks/.eslintignore similarity index 100% rename from .eslintignore rename to packages/three.quarks/.eslintignore diff --git a/.eslintrc b/packages/three.quarks/.eslintrc similarity index 100% rename from .eslintrc rename to packages/three.quarks/.eslintrc diff --git a/packages/three.quarks/.gitignore b/packages/three.quarks/.gitignore new file mode 100644 index 0000000..9b160b3 --- /dev/null +++ b/packages/three.quarks/.gitignore @@ -0,0 +1,81 @@ +# Builds +dist/ +examples/js/three.quarks.esm.js +examples/js/three.module.js +examples/js/examples + +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# Caches +.rpt2_cache/ + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# TypeScript v1 declaration files +typings/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env + +# next.js build output +.next + +# System File +.DS_Store + +# Project file +.idea/ +.vscode/ +/example/three.quarks.min.js + +# Doc +docs/ diff --git a/packages/three.quarks/.husky/pre-commit b/packages/three.quarks/.husky/pre-commit new file mode 100644 index 0000000..2312dc5 --- /dev/null +++ b/packages/three.quarks/.husky/pre-commit @@ -0,0 +1 @@ +npx lint-staged diff --git a/.npmignore b/packages/three.quarks/.npmignore similarity index 100% rename from .npmignore rename to packages/three.quarks/.npmignore diff --git a/.prettierignore b/packages/three.quarks/.prettierignore similarity index 100% rename from .prettierignore rename to packages/three.quarks/.prettierignore diff --git a/.prettierrc b/packages/three.quarks/.prettierrc similarity index 100% rename from .prettierrc rename to packages/three.quarks/.prettierrc diff --git a/.travis.yml b/packages/three.quarks/.travis.yml similarity index 100% rename from .travis.yml rename to packages/three.quarks/.travis.yml diff --git a/CHANGELOG.md b/packages/three.quarks/CHANGELOG.md similarity index 100% rename from CHANGELOG.md rename to packages/three.quarks/CHANGELOG.md diff --git a/CODE_OF_CONDUCT.md b/packages/three.quarks/CODE_OF_CONDUCT.md similarity index 100% rename from CODE_OF_CONDUCT.md rename to packages/three.quarks/CODE_OF_CONDUCT.md diff --git a/CONTRIBUTING.md b/packages/three.quarks/CONTRIBUTING.md similarity index 100% rename from CONTRIBUTING.md rename to packages/three.quarks/CONTRIBUTING.md diff --git a/DEVELOPMENT_GUIDE.md b/packages/three.quarks/DEVELOPMENT_GUIDE.md similarity index 100% rename from DEVELOPMENT_GUIDE.md rename to packages/three.quarks/DEVELOPMENT_GUIDE.md diff --git a/LICENSE b/packages/three.quarks/LICENSE similarity index 100% rename from LICENSE rename to packages/three.quarks/LICENSE diff --git a/README.md b/packages/three.quarks/README.md similarity index 100% rename from README.md rename to packages/three.quarks/README.md diff --git a/assets/custom.css b/packages/three.quarks/assets/custom.css similarity index 100% rename from assets/custom.css rename to packages/three.quarks/assets/custom.css diff --git a/examples/AcidBoiling.json b/packages/three.quarks/examples/AcidBoiling.json similarity index 100% rename from examples/AcidBoiling.json rename to packages/three.quarks/examples/AcidBoiling.json diff --git a/examples/alphaTestDemo.js b/packages/three.quarks/examples/alphaTestDemo.js similarity index 100% rename from examples/alphaTestDemo.js rename to packages/three.quarks/examples/alphaTestDemo.js diff --git a/examples/billboardDemo.js b/packages/three.quarks/examples/billboardDemo.js similarity index 100% rename from examples/billboardDemo.js rename to packages/three.quarks/examples/billboardDemo.js diff --git a/examples/customPluginDemo.js b/packages/three.quarks/examples/customPluginDemo.js similarity index 100% rename from examples/customPluginDemo.js rename to packages/three.quarks/examples/customPluginDemo.js diff --git a/examples/demo.js b/packages/three.quarks/examples/demo.js similarity index 100% rename from examples/demo.js rename to packages/three.quarks/examples/demo.js diff --git a/examples/emitterShapeDemo.js b/packages/three.quarks/examples/emitterShapeDemo.js similarity index 100% rename from examples/emitterShapeDemo.js rename to packages/three.quarks/examples/emitterShapeDemo.js diff --git a/examples/explosionDemo.js b/packages/three.quarks/examples/explosionDemo.js similarity index 100% rename from examples/explosionDemo.js rename to packages/three.quarks/examples/explosionDemo.js diff --git a/examples/favicon.png b/packages/three.quarks/examples/favicon.png similarity index 100% rename from examples/favicon.png rename to packages/three.quarks/examples/favicon.png diff --git a/examples/index.html b/packages/three.quarks/examples/index.html similarity index 100% rename from examples/index.html rename to packages/three.quarks/examples/index.html diff --git a/examples/js/Stats.min.js b/packages/three.quarks/examples/js/Stats.min.js similarity index 100% rename from examples/js/Stats.min.js rename to packages/three.quarks/examples/js/Stats.min.js diff --git a/examples/leave.glb b/packages/three.quarks/examples/leave.glb similarity index 100% rename from examples/leave.glb rename to packages/three.quarks/examples/leave.glb diff --git a/examples/manifest.json b/packages/three.quarks/examples/manifest.json similarity index 100% rename from examples/manifest.json rename to packages/three.quarks/examples/manifest.json diff --git a/examples/meshMaterialDemo.js b/packages/three.quarks/examples/meshMaterialDemo.js similarity index 100% rename from examples/meshMaterialDemo.js rename to packages/three.quarks/examples/meshMaterialDemo.js diff --git a/examples/muzzleFlashDemo.js b/packages/three.quarks/examples/muzzleFlashDemo.js similarity index 100% rename from examples/muzzleFlashDemo.js rename to packages/three.quarks/examples/muzzleFlashDemo.js diff --git a/examples/nodeBasedVFXDemo.js b/packages/three.quarks/examples/nodeBasedVFXDemo.js similarity index 100% rename from examples/nodeBasedVFXDemo.js rename to packages/three.quarks/examples/nodeBasedVFXDemo.js diff --git a/examples/ps.json b/packages/three.quarks/examples/ps.json similarity index 100% rename from examples/ps.json rename to packages/three.quarks/examples/ps.json diff --git a/examples/sequencerDemo.js b/packages/three.quarks/examples/sequencerDemo.js similarity index 100% rename from examples/sequencerDemo.js rename to packages/three.quarks/examples/sequencerDemo.js diff --git a/examples/softParticleDemo.js b/packages/three.quarks/examples/softParticleDemo.js similarity index 100% rename from examples/softParticleDemo.js rename to packages/three.quarks/examples/softParticleDemo.js diff --git a/examples/subEmitter2.json b/packages/three.quarks/examples/subEmitter2.json similarity index 100% rename from examples/subEmitter2.json rename to packages/three.quarks/examples/subEmitter2.json diff --git a/examples/subEmitterDemo.js b/packages/three.quarks/examples/subEmitterDemo.js similarity index 100% rename from examples/subEmitterDemo.js rename to packages/three.quarks/examples/subEmitterDemo.js diff --git a/examples/textures/bubble_half_thick.png b/packages/three.quarks/examples/textures/bubble_half_thick.png similarity index 100% rename from examples/textures/bubble_half_thick.png rename to packages/three.quarks/examples/textures/bubble_half_thick.png diff --git a/examples/textures/cfxr smoke cloud x4.png b/packages/three.quarks/examples/textures/cfxr smoke cloud x4.png similarity index 100% rename from examples/textures/cfxr smoke cloud x4.png rename to packages/three.quarks/examples/textures/cfxr smoke cloud x4.png diff --git a/examples/textures/cfxr spikes impact.png b/packages/three.quarks/examples/textures/cfxr spikes impact.png similarity index 100% rename from examples/textures/cfxr spikes impact.png rename to packages/three.quarks/examples/textures/cfxr spikes impact.png diff --git a/examples/textures/cfxr stretch trait.png b/packages/three.quarks/examples/textures/cfxr stretch trait.png similarity index 100% rename from examples/textures/cfxr stretch trait.png rename to packages/three.quarks/examples/textures/cfxr stretch trait.png diff --git a/examples/textures/circle.png b/packages/three.quarks/examples/textures/circle.png similarity index 100% rename from examples/textures/circle.png rename to packages/three.quarks/examples/textures/circle.png diff --git a/examples/textures/cube/negx.jpg b/packages/three.quarks/examples/textures/cube/negx.jpg similarity index 100% rename from examples/textures/cube/negx.jpg rename to packages/three.quarks/examples/textures/cube/negx.jpg diff --git a/examples/textures/cube/negy.jpg b/packages/three.quarks/examples/textures/cube/negy.jpg similarity index 100% rename from examples/textures/cube/negy.jpg rename to packages/three.quarks/examples/textures/cube/negy.jpg diff --git a/examples/textures/cube/negz.jpg b/packages/three.quarks/examples/textures/cube/negz.jpg similarity index 100% rename from examples/textures/cube/negz.jpg rename to packages/three.quarks/examples/textures/cube/negz.jpg diff --git a/examples/textures/cube/posx.jpg b/packages/three.quarks/examples/textures/cube/posx.jpg similarity index 100% rename from examples/textures/cube/posx.jpg rename to packages/three.quarks/examples/textures/cube/posx.jpg diff --git a/examples/textures/cube/posy.jpg b/packages/three.quarks/examples/textures/cube/posy.jpg similarity index 100% rename from examples/textures/cube/posy.jpg rename to packages/three.quarks/examples/textures/cube/posy.jpg diff --git a/examples/textures/cube/posz.jpg b/packages/three.quarks/examples/textures/cube/posz.jpg similarity index 100% rename from examples/textures/cube/posz.jpg rename to packages/three.quarks/examples/textures/cube/posz.jpg diff --git a/examples/textures/logo_texture.png b/packages/three.quarks/examples/textures/logo_texture.png similarity index 100% rename from examples/textures/logo_texture.png rename to packages/three.quarks/examples/textures/logo_texture.png diff --git a/examples/textures/particle_default.png b/packages/three.quarks/examples/textures/particle_default.png similarity index 100% rename from examples/textures/particle_default.png rename to packages/three.quarks/examples/textures/particle_default.png diff --git a/examples/textures/projectile.png b/packages/three.quarks/examples/textures/projectile.png similarity index 100% rename from examples/textures/projectile.png rename to packages/three.quarks/examples/textures/projectile.png diff --git a/examples/textures/text_texture.png b/packages/three.quarks/examples/textures/text_texture.png similarity index 100% rename from examples/textures/text_texture.png rename to packages/three.quarks/examples/textures/text_texture.png diff --git a/examples/textures/texture1.png b/packages/three.quarks/examples/textures/texture1.png similarity index 100% rename from examples/textures/texture1.png rename to packages/three.quarks/examples/textures/texture1.png diff --git a/examples/textures/texture2.png b/packages/three.quarks/examples/textures/texture2.png similarity index 100% rename from examples/textures/texture2.png rename to packages/three.quarks/examples/textures/texture2.png diff --git a/examples/textures/triangle_curve.png b/packages/three.quarks/examples/textures/triangle_curve.png similarity index 100% rename from examples/textures/triangle_curve.png rename to packages/three.quarks/examples/textures/triangle_curve.png diff --git a/examples/trailDemo.js b/packages/three.quarks/examples/trailDemo.js similarity index 100% rename from examples/trailDemo.js rename to packages/three.quarks/examples/trailDemo.js diff --git a/examples/turbulenceDemo.js b/packages/three.quarks/examples/turbulenceDemo.js similarity index 100% rename from examples/turbulenceDemo.js rename to packages/three.quarks/examples/turbulenceDemo.js diff --git a/examples/webgpu.html b/packages/three.quarks/examples/webgpu.html similarity index 100% rename from examples/webgpu.html rename to packages/three.quarks/examples/webgpu.html diff --git a/examples/webgpu.js b/packages/three.quarks/examples/webgpu.js similarity index 100% rename from examples/webgpu.js rename to packages/three.quarks/examples/webgpu.js diff --git a/jest.config.json b/packages/three.quarks/jest.config.json similarity index 100% rename from jest.config.json rename to packages/three.quarks/jest.config.json diff --git a/landing.png b/packages/three.quarks/landing.png similarity index 100% rename from landing.png rename to packages/three.quarks/landing.png diff --git a/package-lock.json b/packages/three.quarks/package-lock.json similarity index 100% rename from package-lock.json rename to packages/three.quarks/package-lock.json diff --git a/package.json b/packages/three.quarks/package.json similarity index 100% rename from package.json rename to packages/three.quarks/package.json diff --git a/rollup.config.js b/packages/three.quarks/rollup.config.js similarity index 100% rename from rollup.config.js rename to packages/three.quarks/rollup.config.js diff --git a/src/BatchedParticleRenderer.ts b/packages/three.quarks/src/BatchedParticleRenderer.ts similarity index 100% rename from src/BatchedParticleRenderer.ts rename to packages/three.quarks/src/BatchedParticleRenderer.ts diff --git a/src/BatchedRenderer.ts b/packages/three.quarks/src/BatchedRenderer.ts similarity index 100% rename from src/BatchedRenderer.ts rename to packages/three.quarks/src/BatchedRenderer.ts diff --git a/src/MeshBatch.ts b/packages/three.quarks/src/MeshBatch.ts similarity index 100% rename from src/MeshBatch.ts rename to packages/three.quarks/src/MeshBatch.ts diff --git a/src/Particle.ts b/packages/three.quarks/src/Particle.ts similarity index 100% rename from src/Particle.ts rename to packages/three.quarks/src/Particle.ts diff --git a/src/ParticleEmitter.ts b/packages/three.quarks/src/ParticleEmitter.ts similarity index 100% rename from src/ParticleEmitter.ts rename to packages/three.quarks/src/ParticleEmitter.ts diff --git a/src/ParticleSystem.ts b/packages/three.quarks/src/ParticleSystem.ts similarity index 100% rename from src/ParticleSystem.ts rename to packages/three.quarks/src/ParticleSystem.ts diff --git a/src/Plugin.ts b/packages/three.quarks/src/Plugin.ts similarity index 100% rename from src/Plugin.ts rename to packages/three.quarks/src/Plugin.ts diff --git a/src/QuarksLoader.ts b/packages/three.quarks/src/QuarksLoader.ts similarity index 100% rename from src/QuarksLoader.ts rename to packages/three.quarks/src/QuarksLoader.ts diff --git a/src/SpriteBatch.ts b/packages/three.quarks/src/SpriteBatch.ts similarity index 100% rename from src/SpriteBatch.ts rename to packages/three.quarks/src/SpriteBatch.ts diff --git a/src/TrailBatch.ts b/packages/three.quarks/src/TrailBatch.ts similarity index 100% rename from src/TrailBatch.ts rename to packages/three.quarks/src/TrailBatch.ts diff --git a/src/TypeUtil.ts b/packages/three.quarks/src/TypeUtil.ts similarity index 100% rename from src/TypeUtil.ts rename to packages/three.quarks/src/TypeUtil.ts diff --git a/src/VFXBatch.ts b/packages/three.quarks/src/VFXBatch.ts similarity index 100% rename from src/VFXBatch.ts rename to packages/three.quarks/src/VFXBatch.ts diff --git a/src/WebGPURenderer.ts b/packages/three.quarks/src/WebGPURenderer.ts similarity index 100% rename from src/WebGPURenderer.ts rename to packages/three.quarks/src/WebGPURenderer.ts diff --git a/src/behaviors/ApplyCollision.ts b/packages/three.quarks/src/behaviors/ApplyCollision.ts similarity index 100% rename from src/behaviors/ApplyCollision.ts rename to packages/three.quarks/src/behaviors/ApplyCollision.ts diff --git a/src/behaviors/ApplyForce.ts b/packages/three.quarks/src/behaviors/ApplyForce.ts similarity index 100% rename from src/behaviors/ApplyForce.ts rename to packages/three.quarks/src/behaviors/ApplyForce.ts diff --git a/src/behaviors/ApplySequences.ts b/packages/three.quarks/src/behaviors/ApplySequences.ts similarity index 100% rename from src/behaviors/ApplySequences.ts rename to packages/three.quarks/src/behaviors/ApplySequences.ts diff --git a/src/behaviors/Behavior.ts b/packages/three.quarks/src/behaviors/Behavior.ts similarity index 100% rename from src/behaviors/Behavior.ts rename to packages/three.quarks/src/behaviors/Behavior.ts diff --git a/src/behaviors/ChangeEmitDirection.ts b/packages/three.quarks/src/behaviors/ChangeEmitDirection.ts similarity index 100% rename from src/behaviors/ChangeEmitDirection.ts rename to packages/three.quarks/src/behaviors/ChangeEmitDirection.ts diff --git a/src/behaviors/ColorBySpeed.ts b/packages/three.quarks/src/behaviors/ColorBySpeed.ts similarity index 100% rename from src/behaviors/ColorBySpeed.ts rename to packages/three.quarks/src/behaviors/ColorBySpeed.ts diff --git a/src/behaviors/ColorOverLife.ts b/packages/three.quarks/src/behaviors/ColorOverLife.ts similarity index 100% rename from src/behaviors/ColorOverLife.ts rename to packages/three.quarks/src/behaviors/ColorOverLife.ts diff --git a/src/behaviors/EmitSubParticleSystem.ts b/packages/three.quarks/src/behaviors/EmitSubParticleSystem.ts similarity index 100% rename from src/behaviors/EmitSubParticleSystem.ts rename to packages/three.quarks/src/behaviors/EmitSubParticleSystem.ts diff --git a/src/behaviors/ForceOverLife.ts b/packages/three.quarks/src/behaviors/ForceOverLife.ts similarity index 100% rename from src/behaviors/ForceOverLife.ts rename to packages/three.quarks/src/behaviors/ForceOverLife.ts diff --git a/src/behaviors/FrameOverLife.ts b/packages/three.quarks/src/behaviors/FrameOverLife.ts similarity index 100% rename from src/behaviors/FrameOverLife.ts rename to packages/three.quarks/src/behaviors/FrameOverLife.ts diff --git a/src/behaviors/GravityForce.ts b/packages/three.quarks/src/behaviors/GravityForce.ts similarity index 100% rename from src/behaviors/GravityForce.ts rename to packages/three.quarks/src/behaviors/GravityForce.ts diff --git a/src/behaviors/LimitSpeedOverLife.ts b/packages/three.quarks/src/behaviors/LimitSpeedOverLife.ts similarity index 100% rename from src/behaviors/LimitSpeedOverLife.ts rename to packages/three.quarks/src/behaviors/LimitSpeedOverLife.ts diff --git a/src/behaviors/NodeGraphBehavior.ts b/packages/three.quarks/src/behaviors/NodeGraphBehavior.ts similarity index 100% rename from src/behaviors/NodeGraphBehavior.ts rename to packages/three.quarks/src/behaviors/NodeGraphBehavior.ts diff --git a/src/behaviors/Noise.ts b/packages/three.quarks/src/behaviors/Noise.ts similarity index 100% rename from src/behaviors/Noise.ts rename to packages/three.quarks/src/behaviors/Noise.ts diff --git a/src/behaviors/OrbitOverLife.ts b/packages/three.quarks/src/behaviors/OrbitOverLife.ts similarity index 100% rename from src/behaviors/OrbitOverLife.ts rename to packages/three.quarks/src/behaviors/OrbitOverLife.ts diff --git a/src/behaviors/Rotation3DOverLife.ts b/packages/three.quarks/src/behaviors/Rotation3DOverLife.ts similarity index 100% rename from src/behaviors/Rotation3DOverLife.ts rename to packages/three.quarks/src/behaviors/Rotation3DOverLife.ts diff --git a/src/behaviors/RotationBySpeed.ts b/packages/three.quarks/src/behaviors/RotationBySpeed.ts similarity index 100% rename from src/behaviors/RotationBySpeed.ts rename to packages/three.quarks/src/behaviors/RotationBySpeed.ts diff --git a/src/behaviors/RotationOverLife.ts b/packages/three.quarks/src/behaviors/RotationOverLife.ts similarity index 100% rename from src/behaviors/RotationOverLife.ts rename to packages/three.quarks/src/behaviors/RotationOverLife.ts diff --git a/src/behaviors/SizeBySpeed.ts b/packages/three.quarks/src/behaviors/SizeBySpeed.ts similarity index 100% rename from src/behaviors/SizeBySpeed.ts rename to packages/three.quarks/src/behaviors/SizeBySpeed.ts diff --git a/src/behaviors/SizeOverLife.ts b/packages/three.quarks/src/behaviors/SizeOverLife.ts similarity index 100% rename from src/behaviors/SizeOverLife.ts rename to packages/three.quarks/src/behaviors/SizeOverLife.ts diff --git a/src/behaviors/SpeedOverLife.ts b/packages/three.quarks/src/behaviors/SpeedOverLife.ts similarity index 100% rename from src/behaviors/SpeedOverLife.ts rename to packages/three.quarks/src/behaviors/SpeedOverLife.ts diff --git a/src/behaviors/TurbulenceField.ts b/packages/three.quarks/src/behaviors/TurbulenceField.ts similarity index 100% rename from src/behaviors/TurbulenceField.ts rename to packages/three.quarks/src/behaviors/TurbulenceField.ts diff --git a/src/behaviors/WidthOverLength.ts b/packages/three.quarks/src/behaviors/WidthOverLength.ts similarity index 100% rename from src/behaviors/WidthOverLength.ts rename to packages/three.quarks/src/behaviors/WidthOverLength.ts diff --git a/src/behaviors/index.ts b/packages/three.quarks/src/behaviors/index.ts similarity index 100% rename from src/behaviors/index.ts rename to packages/three.quarks/src/behaviors/index.ts diff --git a/src/functions/AxisAngleGenerator.ts b/packages/three.quarks/src/functions/AxisAngleGenerator.ts similarity index 100% rename from src/functions/AxisAngleGenerator.ts rename to packages/three.quarks/src/functions/AxisAngleGenerator.ts diff --git a/src/functions/Bezier.ts b/packages/three.quarks/src/functions/Bezier.ts similarity index 100% rename from src/functions/Bezier.ts rename to packages/three.quarks/src/functions/Bezier.ts diff --git a/src/functions/ColorGenerator.ts b/packages/three.quarks/src/functions/ColorGenerator.ts similarity index 100% rename from src/functions/ColorGenerator.ts rename to packages/three.quarks/src/functions/ColorGenerator.ts diff --git a/src/functions/ColorRange.ts b/packages/three.quarks/src/functions/ColorRange.ts similarity index 100% rename from src/functions/ColorRange.ts rename to packages/three.quarks/src/functions/ColorRange.ts diff --git a/src/functions/ConstantValue.ts b/packages/three.quarks/src/functions/ConstantValue.ts similarity index 100% rename from src/functions/ConstantValue.ts rename to packages/three.quarks/src/functions/ConstantValue.ts diff --git a/src/functions/ContinuousLinearFunction.ts b/packages/three.quarks/src/functions/ContinuousLinearFunction.ts similarity index 100% rename from src/functions/ContinuousLinearFunction.ts rename to packages/three.quarks/src/functions/ContinuousLinearFunction.ts diff --git a/src/functions/EulerGenerator.ts b/packages/three.quarks/src/functions/EulerGenerator.ts similarity index 100% rename from src/functions/EulerGenerator.ts rename to packages/three.quarks/src/functions/EulerGenerator.ts diff --git a/src/functions/FunctionJSON.ts b/packages/three.quarks/src/functions/FunctionJSON.ts similarity index 100% rename from src/functions/FunctionJSON.ts rename to packages/three.quarks/src/functions/FunctionJSON.ts diff --git a/src/functions/GeneratorMemory.ts b/packages/three.quarks/src/functions/GeneratorMemory.ts similarity index 100% rename from src/functions/GeneratorMemory.ts rename to packages/three.quarks/src/functions/GeneratorMemory.ts diff --git a/src/functions/Generators.ts b/packages/three.quarks/src/functions/Generators.ts similarity index 100% rename from src/functions/Generators.ts rename to packages/three.quarks/src/functions/Generators.ts diff --git a/src/functions/Gradient.ts b/packages/three.quarks/src/functions/Gradient.ts similarity index 100% rename from src/functions/Gradient.ts rename to packages/three.quarks/src/functions/Gradient.ts diff --git a/src/functions/IntervalValue.ts b/packages/three.quarks/src/functions/IntervalValue.ts similarity index 100% rename from src/functions/IntervalValue.ts rename to packages/three.quarks/src/functions/IntervalValue.ts diff --git a/src/functions/PiecewiseBezier.ts b/packages/three.quarks/src/functions/PiecewiseBezier.ts similarity index 100% rename from src/functions/PiecewiseBezier.ts rename to packages/three.quarks/src/functions/PiecewiseBezier.ts diff --git a/src/functions/PiecewiseFunction.ts b/packages/three.quarks/src/functions/PiecewiseFunction.ts similarity index 100% rename from src/functions/PiecewiseFunction.ts rename to packages/three.quarks/src/functions/PiecewiseFunction.ts diff --git a/src/functions/RandomColor.ts b/packages/three.quarks/src/functions/RandomColor.ts similarity index 100% rename from src/functions/RandomColor.ts rename to packages/three.quarks/src/functions/RandomColor.ts diff --git a/src/functions/RandomColorBetweenGradient.ts b/packages/three.quarks/src/functions/RandomColorBetweenGradient.ts similarity index 100% rename from src/functions/RandomColorBetweenGradient.ts rename to packages/three.quarks/src/functions/RandomColorBetweenGradient.ts diff --git a/src/functions/RandomQuatGenerator.ts b/packages/three.quarks/src/functions/RandomQuatGenerator.ts similarity index 100% rename from src/functions/RandomQuatGenerator.ts rename to packages/three.quarks/src/functions/RandomQuatGenerator.ts diff --git a/src/functions/RotationGenerator.ts b/packages/three.quarks/src/functions/RotationGenerator.ts similarity index 100% rename from src/functions/RotationGenerator.ts rename to packages/three.quarks/src/functions/RotationGenerator.ts diff --git a/src/functions/ValueGenerator.ts b/packages/three.quarks/src/functions/ValueGenerator.ts similarity index 100% rename from src/functions/ValueGenerator.ts rename to packages/three.quarks/src/functions/ValueGenerator.ts diff --git a/src/functions/index.ts b/packages/three.quarks/src/functions/index.ts similarity index 100% rename from src/functions/index.ts rename to packages/three.quarks/src/functions/index.ts diff --git a/src/index.ts b/packages/three.quarks/src/index.ts similarity index 100% rename from src/index.ts rename to packages/three.quarks/src/index.ts diff --git a/src/materials/ParticleMaterials.ts b/packages/three.quarks/src/materials/ParticleMaterials.ts similarity index 100% rename from src/materials/ParticleMaterials.ts rename to packages/three.quarks/src/materials/ParticleMaterials.ts diff --git a/src/nodes/BaseCompiler.ts b/packages/three.quarks/src/nodes/BaseCompiler.ts similarity index 100% rename from src/nodes/BaseCompiler.ts rename to packages/three.quarks/src/nodes/BaseCompiler.ts diff --git a/src/nodes/Interpreter.ts b/packages/three.quarks/src/nodes/Interpreter.ts similarity index 100% rename from src/nodes/Interpreter.ts rename to packages/three.quarks/src/nodes/Interpreter.ts diff --git a/src/nodes/Node.ts b/packages/three.quarks/src/nodes/Node.ts similarity index 100% rename from src/nodes/Node.ts rename to packages/three.quarks/src/nodes/Node.ts diff --git a/src/nodes/NodeDef.ts b/packages/three.quarks/src/nodes/NodeDef.ts similarity index 100% rename from src/nodes/NodeDef.ts rename to packages/three.quarks/src/nodes/NodeDef.ts diff --git a/src/nodes/NodeDefs.ts b/packages/three.quarks/src/nodes/NodeDefs.ts similarity index 100% rename from src/nodes/NodeDefs.ts rename to packages/three.quarks/src/nodes/NodeDefs.ts diff --git a/src/nodes/NodeGraph.ts b/packages/three.quarks/src/nodes/NodeGraph.ts similarity index 100% rename from src/nodes/NodeGraph.ts rename to packages/three.quarks/src/nodes/NodeGraph.ts diff --git a/src/nodes/NodeVFX.ts b/packages/three.quarks/src/nodes/NodeVFX.ts similarity index 100% rename from src/nodes/NodeVFX.ts rename to packages/three.quarks/src/nodes/NodeVFX.ts diff --git a/src/nodes/NodeValueType.ts b/packages/three.quarks/src/nodes/NodeValueType.ts similarity index 100% rename from src/nodes/NodeValueType.ts rename to packages/three.quarks/src/nodes/NodeValueType.ts diff --git a/src/nodes/WASMCompiler.ts b/packages/three.quarks/src/nodes/WASMCompiler.ts similarity index 100% rename from src/nodes/WASMCompiler.ts rename to packages/three.quarks/src/nodes/WASMCompiler.ts diff --git a/src/nodes/WebGPUCompiler.ts b/packages/three.quarks/src/nodes/WebGPUCompiler.ts similarity index 100% rename from src/nodes/WebGPUCompiler.ts rename to packages/three.quarks/src/nodes/WebGPUCompiler.ts diff --git a/src/nodes/index.ts b/packages/three.quarks/src/nodes/index.ts similarity index 100% rename from src/nodes/index.ts rename to packages/three.quarks/src/nodes/index.ts diff --git a/src/sequencers/Sequencer.ts b/packages/three.quarks/src/sequencers/Sequencer.ts similarity index 100% rename from src/sequencers/Sequencer.ts rename to packages/three.quarks/src/sequencers/Sequencer.ts diff --git a/src/sequencers/TextureSequencer.ts b/packages/three.quarks/src/sequencers/TextureSequencer.ts similarity index 100% rename from src/sequencers/TextureSequencer.ts rename to packages/three.quarks/src/sequencers/TextureSequencer.ts diff --git a/src/sequencers/index.ts b/packages/three.quarks/src/sequencers/index.ts similarity index 100% rename from src/sequencers/index.ts rename to packages/three.quarks/src/sequencers/index.ts diff --git a/src/shaders/chunks/index.ts b/packages/three.quarks/src/shaders/chunks/index.ts similarity index 100% rename from src/shaders/chunks/index.ts rename to packages/three.quarks/src/shaders/chunks/index.ts diff --git a/src/shaders/chunks/register-shader-chunks.ts b/packages/three.quarks/src/shaders/chunks/register-shader-chunks.ts similarity index 100% rename from src/shaders/chunks/register-shader-chunks.ts rename to packages/three.quarks/src/shaders/chunks/register-shader-chunks.ts diff --git a/src/shaders/chunks/soft_fragment.glsl.ts b/packages/three.quarks/src/shaders/chunks/soft_fragment.glsl.ts similarity index 100% rename from src/shaders/chunks/soft_fragment.glsl.ts rename to packages/three.quarks/src/shaders/chunks/soft_fragment.glsl.ts diff --git a/src/shaders/chunks/soft_pars_fragment.glsl.ts b/packages/three.quarks/src/shaders/chunks/soft_pars_fragment.glsl.ts similarity index 100% rename from src/shaders/chunks/soft_pars_fragment.glsl.ts rename to packages/three.quarks/src/shaders/chunks/soft_pars_fragment.glsl.ts diff --git a/src/shaders/chunks/soft_pars_vertex.glsl.ts b/packages/three.quarks/src/shaders/chunks/soft_pars_vertex.glsl.ts similarity index 100% rename from src/shaders/chunks/soft_pars_vertex.glsl.ts rename to packages/three.quarks/src/shaders/chunks/soft_pars_vertex.glsl.ts diff --git a/src/shaders/chunks/soft_vertex.glsl.ts b/packages/three.quarks/src/shaders/chunks/soft_vertex.glsl.ts similarity index 100% rename from src/shaders/chunks/soft_vertex.glsl.ts rename to packages/three.quarks/src/shaders/chunks/soft_vertex.glsl.ts diff --git a/src/shaders/chunks/tile_fragment.glsl.ts b/packages/three.quarks/src/shaders/chunks/tile_fragment.glsl.ts similarity index 100% rename from src/shaders/chunks/tile_fragment.glsl.ts rename to packages/three.quarks/src/shaders/chunks/tile_fragment.glsl.ts diff --git a/src/shaders/chunks/tile_pars_fragment.glsl.ts b/packages/three.quarks/src/shaders/chunks/tile_pars_fragment.glsl.ts similarity index 100% rename from src/shaders/chunks/tile_pars_fragment.glsl.ts rename to packages/three.quarks/src/shaders/chunks/tile_pars_fragment.glsl.ts diff --git a/src/shaders/chunks/tile_pars_vertex.glsl.ts b/packages/three.quarks/src/shaders/chunks/tile_pars_vertex.glsl.ts similarity index 100% rename from src/shaders/chunks/tile_pars_vertex.glsl.ts rename to packages/three.quarks/src/shaders/chunks/tile_pars_vertex.glsl.ts diff --git a/src/shaders/chunks/tile_vertex.glsl.ts b/packages/three.quarks/src/shaders/chunks/tile_vertex.glsl.ts similarity index 100% rename from src/shaders/chunks/tile_vertex.glsl.ts rename to packages/three.quarks/src/shaders/chunks/tile_vertex.glsl.ts diff --git a/src/shaders/index.ts b/packages/three.quarks/src/shaders/index.ts similarity index 100% rename from src/shaders/index.ts rename to packages/three.quarks/src/shaders/index.ts diff --git a/src/shaders/local_particle_physics_vert.glsl.ts b/packages/three.quarks/src/shaders/local_particle_physics_vert.glsl.ts similarity index 100% rename from src/shaders/local_particle_physics_vert.glsl.ts rename to packages/three.quarks/src/shaders/local_particle_physics_vert.glsl.ts diff --git a/src/shaders/local_particle_vert.glsl.ts b/packages/three.quarks/src/shaders/local_particle_vert.glsl.ts similarity index 100% rename from src/shaders/local_particle_vert.glsl.ts rename to packages/three.quarks/src/shaders/local_particle_vert.glsl.ts diff --git a/src/shaders/particle_frag.glsl.ts b/packages/three.quarks/src/shaders/particle_frag.glsl.ts similarity index 100% rename from src/shaders/particle_frag.glsl.ts rename to packages/three.quarks/src/shaders/particle_frag.glsl.ts diff --git a/src/shaders/particle_physics_frag.glsl.ts b/packages/three.quarks/src/shaders/particle_physics_frag.glsl.ts similarity index 100% rename from src/shaders/particle_physics_frag.glsl.ts rename to packages/three.quarks/src/shaders/particle_physics_frag.glsl.ts diff --git a/src/shaders/particle_vert.glsl.ts b/packages/three.quarks/src/shaders/particle_vert.glsl.ts similarity index 100% rename from src/shaders/particle_vert.glsl.ts rename to packages/three.quarks/src/shaders/particle_vert.glsl.ts diff --git a/src/shaders/stretched_bb_particle_vert.glsl.ts b/packages/three.quarks/src/shaders/stretched_bb_particle_vert.glsl.ts similarity index 100% rename from src/shaders/stretched_bb_particle_vert.glsl.ts rename to packages/three.quarks/src/shaders/stretched_bb_particle_vert.glsl.ts diff --git a/src/shaders/trail_frag.glsl.ts b/packages/three.quarks/src/shaders/trail_frag.glsl.ts similarity index 100% rename from src/shaders/trail_frag.glsl.ts rename to packages/three.quarks/src/shaders/trail_frag.glsl.ts diff --git a/src/shaders/trail_vert.glsl.ts b/packages/three.quarks/src/shaders/trail_vert.glsl.ts similarity index 100% rename from src/shaders/trail_vert.glsl.ts rename to packages/three.quarks/src/shaders/trail_vert.glsl.ts diff --git a/src/shaders/wgsl/particle.wgsl.ts b/packages/three.quarks/src/shaders/wgsl/particle.wgsl.ts similarity index 100% rename from src/shaders/wgsl/particle.wgsl.ts rename to packages/three.quarks/src/shaders/wgsl/particle.wgsl.ts diff --git a/src/shape/CircleEmitter.ts b/packages/three.quarks/src/shape/CircleEmitter.ts similarity index 100% rename from src/shape/CircleEmitter.ts rename to packages/three.quarks/src/shape/CircleEmitter.ts diff --git a/src/shape/ConeEmitter.ts b/packages/three.quarks/src/shape/ConeEmitter.ts similarity index 100% rename from src/shape/ConeEmitter.ts rename to packages/three.quarks/src/shape/ConeEmitter.ts diff --git a/src/shape/DonutEmitter.ts b/packages/three.quarks/src/shape/DonutEmitter.ts similarity index 100% rename from src/shape/DonutEmitter.ts rename to packages/three.quarks/src/shape/DonutEmitter.ts diff --git a/src/shape/EmitterShape.ts b/packages/three.quarks/src/shape/EmitterShape.ts similarity index 100% rename from src/shape/EmitterShape.ts rename to packages/three.quarks/src/shape/EmitterShape.ts diff --git a/src/shape/EmitterUtil.ts b/packages/three.quarks/src/shape/EmitterUtil.ts similarity index 100% rename from src/shape/EmitterUtil.ts rename to packages/three.quarks/src/shape/EmitterUtil.ts diff --git a/src/shape/GridEmitter.ts b/packages/three.quarks/src/shape/GridEmitter.ts similarity index 100% rename from src/shape/GridEmitter.ts rename to packages/three.quarks/src/shape/GridEmitter.ts diff --git a/src/shape/HemisphereEmitter.ts b/packages/three.quarks/src/shape/HemisphereEmitter.ts similarity index 100% rename from src/shape/HemisphereEmitter.ts rename to packages/three.quarks/src/shape/HemisphereEmitter.ts diff --git a/src/shape/MeshSurfaceEmitter.ts b/packages/three.quarks/src/shape/MeshSurfaceEmitter.ts similarity index 100% rename from src/shape/MeshSurfaceEmitter.ts rename to packages/three.quarks/src/shape/MeshSurfaceEmitter.ts diff --git a/src/shape/PointEmitter.ts b/packages/three.quarks/src/shape/PointEmitter.ts similarity index 100% rename from src/shape/PointEmitter.ts rename to packages/three.quarks/src/shape/PointEmitter.ts diff --git a/src/shape/SphereEmitter.ts b/packages/three.quarks/src/shape/SphereEmitter.ts similarity index 100% rename from src/shape/SphereEmitter.ts rename to packages/three.quarks/src/shape/SphereEmitter.ts diff --git a/src/shape/index.ts b/packages/three.quarks/src/shape/index.ts similarity index 100% rename from src/shape/index.ts rename to packages/three.quarks/src/shape/index.ts diff --git a/src/util/JSONUtil.ts b/packages/three.quarks/src/util/JSONUtil.ts similarity index 100% rename from src/util/JSONUtil.ts rename to packages/three.quarks/src/util/JSONUtil.ts diff --git a/src/util/LinkedList.ts b/packages/three.quarks/src/util/LinkedList.ts similarity index 100% rename from src/util/LinkedList.ts rename to packages/three.quarks/src/util/LinkedList.ts diff --git a/src/util/MathUtil.ts b/packages/three.quarks/src/util/MathUtil.ts similarity index 100% rename from src/util/MathUtil.ts rename to packages/three.quarks/src/util/MathUtil.ts diff --git a/src/util/SimplexNoise.ts b/packages/three.quarks/src/util/SimplexNoise.ts similarity index 100% rename from src/util/SimplexNoise.ts rename to packages/three.quarks/src/util/SimplexNoise.ts diff --git a/src/util/ThreeUtil.ts b/packages/three.quarks/src/util/ThreeUtil.ts similarity index 100% rename from src/util/ThreeUtil.ts rename to packages/three.quarks/src/util/ThreeUtil.ts diff --git a/test/BatchedRenderer.test.ts b/packages/three.quarks/test/BatchedRenderer.test.ts similarity index 100% rename from test/BatchedRenderer.test.ts rename to packages/three.quarks/test/BatchedRenderer.test.ts diff --git a/test/ParticleEmitter.test.ts b/packages/three.quarks/test/ParticleEmitter.test.ts similarity index 100% rename from test/ParticleEmitter.test.ts rename to packages/three.quarks/test/ParticleEmitter.test.ts diff --git a/test/QuarksLoader.test.ts b/packages/three.quarks/test/QuarksLoader.test.ts similarity index 100% rename from test/QuarksLoader.test.ts rename to packages/three.quarks/test/QuarksLoader.test.ts diff --git a/test/functions/Bezier.test.ts b/packages/three.quarks/test/functions/Bezier.test.ts similarity index 100% rename from test/functions/Bezier.test.ts rename to packages/three.quarks/test/functions/Bezier.test.ts diff --git a/test/functions/ColorRange.test.ts b/packages/three.quarks/test/functions/ColorRange.test.ts similarity index 100% rename from test/functions/ColorRange.test.ts rename to packages/three.quarks/test/functions/ColorRange.test.ts diff --git a/test/functions/ConstantColor.test.ts b/packages/three.quarks/test/functions/ConstantColor.test.ts similarity index 100% rename from test/functions/ConstantColor.test.ts rename to packages/three.quarks/test/functions/ConstantColor.test.ts diff --git a/test/functions/Gradient.test.ts b/packages/three.quarks/test/functions/Gradient.test.ts similarity index 100% rename from test/functions/Gradient.test.ts rename to packages/three.quarks/test/functions/Gradient.test.ts diff --git a/test/functions/IntervalValue.test.ts b/packages/three.quarks/test/functions/IntervalValue.test.ts similarity index 100% rename from test/functions/IntervalValue.test.ts rename to packages/three.quarks/test/functions/IntervalValue.test.ts diff --git a/test/functions/PiecewiseBezier.test.ts b/packages/three.quarks/test/functions/PiecewiseBezier.test.ts similarity index 100% rename from test/functions/PiecewiseBezier.test.ts rename to packages/three.quarks/test/functions/PiecewiseBezier.test.ts diff --git a/test/functions/RandomColorBetweenGradient.test.ts b/packages/three.quarks/test/functions/RandomColorBetweenGradient.test.ts similarity index 100% rename from test/functions/RandomColorBetweenGradient.test.ts rename to packages/three.quarks/test/functions/RandomColorBetweenGradient.test.ts diff --git a/test/meshSurface.json b/packages/three.quarks/test/meshSurface.json similarity index 100% rename from test/meshSurface.json rename to packages/three.quarks/test/meshSurface.json diff --git a/test/nodes/GraphUtil.ts b/packages/three.quarks/test/nodes/GraphUtil.ts similarity index 100% rename from test/nodes/GraphUtil.ts rename to packages/three.quarks/test/nodes/GraphUtil.ts diff --git a/test/nodes/Node.test.ts b/packages/three.quarks/test/nodes/Node.test.ts similarity index 100% rename from test/nodes/Node.test.ts rename to packages/three.quarks/test/nodes/Node.test.ts diff --git a/test/nodes/NodeVFX.test.ts b/packages/three.quarks/test/nodes/NodeVFX.test.ts similarity index 100% rename from test/nodes/NodeVFX.test.ts rename to packages/three.quarks/test/nodes/NodeVFX.test.ts diff --git a/test/nodes/WebGPUCompiler.test.ts b/packages/three.quarks/test/nodes/WebGPUCompiler.test.ts similarity index 100% rename from test/nodes/WebGPUCompiler.test.ts rename to packages/three.quarks/test/nodes/WebGPUCompiler.test.ts diff --git a/test/shape/ConeEmitter.test.ts b/packages/three.quarks/test/shape/ConeEmitter.test.ts similarity index 100% rename from test/shape/ConeEmitter.test.ts rename to packages/three.quarks/test/shape/ConeEmitter.test.ts diff --git a/test/shape/MeshSurfaceEmitter.test.ts b/packages/three.quarks/test/shape/MeshSurfaceEmitter.test.ts similarity index 100% rename from test/shape/MeshSurfaceEmitter.test.ts rename to packages/three.quarks/test/shape/MeshSurfaceEmitter.test.ts diff --git a/test/subPS.json b/packages/three.quarks/test/subPS.json similarity index 100% rename from test/subPS.json rename to packages/three.quarks/test/subPS.json diff --git a/test/util/LinkedList.test.ts b/packages/three.quarks/test/util/LinkedList.test.ts similarity index 100% rename from test/util/LinkedList.test.ts rename to packages/three.quarks/test/util/LinkedList.test.ts diff --git a/test/util/SimplexNoise.test.ts b/packages/three.quarks/test/util/SimplexNoise.test.ts similarity index 100% rename from test/util/SimplexNoise.test.ts rename to packages/three.quarks/test/util/SimplexNoise.test.ts diff --git a/tsconfig.json b/packages/three.quarks/tsconfig.json similarity index 100% rename from tsconfig.json rename to packages/three.quarks/tsconfig.json diff --git a/typedoc.json b/packages/three.quarks/typedoc.json similarity index 100% rename from typedoc.json rename to packages/three.quarks/typedoc.json diff --git a/types/index.d.ts b/packages/three.quarks/types/index.d.ts similarity index 100% rename from types/index.d.ts rename to packages/three.quarks/types/index.d.ts