# Browser-based ROOT?

**URL:** <https://root-forum.cern.ch/t/browser-based-root/12906>\
**Category:** General Chat\
**Created:** [August 8, 2011, 5:44pm UTC](https://root-forum.cern.ch/t/browser-based-root/12906 "2011-08-08T17:44:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmaa](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/d/dfb087/32.png) [@dmaa](https://root-forum.cern.ch/u/dmaa)\
**Post date:** [August 8, 2011, 5:44pm UTC](https://root-forum.cern.ch/t/browser-based-root/12906/1 "2011-08-08T17:44:21Z")

</div>

Hello All,

I wonder if anybody is working on a browser-based ROOT version / plugin? I’m mostly interested in some ROOT-\>Browser bridge which will allow me to use HTML5 Canvas and WebGL features to process ROOT-encoded data at client side. For example:

- Generic Event Display (ROOT geometry + exported tracks displayed using WebGL);
- 3D Histogramming ( WebGL? );
- 2D Histogramming ( Canvas / jqplot? );

I’d like to join such project if there is one… As a proof of concept for Event Display, I’ve assembled basic demo (please use Firefox 5 or Google Chrome 12+ to see WebGL) :

[star.bnl.gov/~dmitry/evdisplay/](http://www.star.bnl.gov/~dmitry/evdisplay/)  
( Event Display, using JSON-encoded track array of STAR events )

[star.bnl.gov/~dmitry/gshapes/](http://www.star.bnl.gov/~dmitry/gshapes/)  
( most of HEP 3D shapes implemented as Three.js objects - should cover TGeo series )

Thanks!  
Dmitry

---

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [September 28, 2011, 10:43am UTC](https://root-forum.cern.ch/t/browser-based-root/12906/2 "2011-09-28T10:43:04Z")

</div>

Hi,

We are starting to investigate the ability to read ROOT files using JavaScript (without a C++ library) with the intend for example to load the histogram into javascript/JSON objects to used with javascript display libraries … this may (or may not) be useable in your case.

Cheers,  
Philippe.
