فهرست منبع

Added canvas2dinspector !

Temechon 8 سال پیش
والد
کامیت
466eee8fc3
1فایلهای تغییر یافته به همراه36 افزوده شده و 0 حذف شده
  1. 36 0
      canvas2D/tools/canvas2dinspector/README.md

+ 36 - 0
canvas2D/tools/canvas2dinspector/README.md

@@ -0,0 +1,36 @@
+# Canvas2D Inspector
+
+![](https://raw.githubusercontent.com/Temechon/canvas2d-inspector/master/screen.jpg)
+
+An extension to easily debug your Canvas2D, made with HTML/CSS.
+
+## Usage
+Insert the lib in your project: 
+```
+<script src="c2dinspector.js"></script>
+```
+
+In your code, create a new Inspector by giving it the `BABYLON.Engine`:
+
+```
+new INSPECTOR.Canvas2DInspector(engine); 
+```
+
+A right panel will be created by listing all instances of Canvas2D created in your 
+application.
+
+## Contribute
+
+```
+npm install
+grunt
+```
+
+## Create the lib from source
+
+```
+grunt dist
+```
+The library will be in the `dist` folder.
+
+