All Projects → spite → Three.augmentedconsole.js

spite / Three.augmentedconsole.js

Licence: mit
Augmented methods for console.log

Programming Languages

javascript
184084 projects - #8 most used programming language

THREE.AugmentedConsole.js

THREE.AugmenteConsole.js is a small tool to make development with three.js easier.

It uses chrome's console.table to format the output when using console.log to inspect objects. If the object is a known format it uses a table to display its contents.

The supported types are

  • THREE.Vector2, THREE.Vector3, THREE.Vector4
  • THREE.Matrix3, THREE.Matrix4
  • THREE.Euler
  • THREE.Ray
Demo

Here's a demo showing how it works

Snapshots

Chrome Chrome Firefox Firefox

How to use

Include the script file in your three.js project and the console will be automatically augmented

<script src="THREE.AugmentedConsole.js"></script>
Support

Chrome, Firefox, and Safari.

Check more stuff here: clicktorelease.com and twitter.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].