Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Augmented methods for console.log
branch: master
Failed to load latest commit information.
examples Added support for THREE.Ray
src Added support for THREE.Ray
LICENSE Initial commit
README.md Added support for THREE.Ray

README.md

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 and Firefox. Safari does support console.table but doesn't seem to format anything.

Check more stuff here: clicktorelease.com and twitter.

License

MIT

Something went wrong with that request. Please try again.