Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ivmartel/dbv
Volume/mesh database visualisation.
https://github.com/ivmartel/dbv
Last synced: about 1 month ago
JSON representation
Volume/mesh database visualisation.
- Host: GitHub
- URL: https://github.com/ivmartel/dbv
- Owner: ivmartel
- License: gpl-2.0
- Created: 2014-11-11T16:31:45.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-05-10T14:37:32.000Z (over 6 years ago)
- Last Synced: 2024-04-16T00:33:24.756Z (7 months ago)
- Language: JavaScript
- Homepage:
- Size: 743 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
dbv
===Volume/mesh database visualisation. Using a locally modified version of XTK (see https://github.com/ivmartel/X and [XTK pull request #153](https://github.com/xtk/X/pull/153)). Modify the 'data.json' file to link to your data.
For development purposes, browsers do have a switch to allow accessing local file(s):
* Google Chrome: launch with the `--disable-web-security` argument (see the [list](http://peter.sh/experiments/chromium-command-line-switches/#disable-web-security)),
* Apple Safari: in Safari preferences, Advanced, tick 'Show Develop menu in menu bar'. Then in the develop menu, tick: 'Disable Local File Restrictions'.
* Mozilla Firefox: in `about:config` set `security.fileuri.strict_origin_policy` to false (see [fileuri.strict_origin_policy](http://kb.mozillazine.org/Security.fileuri.strict_origin_policy)).XTK notes
---------
XTK official release files can be found at: http://get.goXTK.com. They are: 'xtk.js', 'xtk_xdat.gui.js' and the latest 'xtk_edge.js'.To run from a local version:
* download and uncompress [xtk-master](https://github.com/xtk/X/archive/master.zip) in a 'X' folder
* download and uncompress [google-closure-library](https://github.com/google/closure-library/archive/master.zip) in 'X/lib'
* In your HTML:```html
goog.require('X.renderer3D');
goog.require('X.scalars');
goog.require('X.mesh');
// ...```
If you add new files, you need to rebuild the xtk-deps.js:
* cd X/utils
* Replace _core/_depsgenerator.py#L55 by 'command = [sys.executable, config.CLOSUREDEPSWRITER_PATH]'
* Run: `python deps.py`
* Replace '\' by '/' in xtk-deps.jsTo build the compressed xtk.js:
* cd X/utils
* Run: `python build.py`