https://github.com/mmesch/x3d
check out the webpage
https://github.com/mmesch/x3d
Last synced: 5 months ago
JSON representation
check out the webpage
- Host: GitHub
- URL: https://github.com/mmesch/x3d
- Owner: MMesch
- Created: 2016-11-15T16:15:51.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-12-13T11:56:18.000Z (over 8 years ago)
- Last Synced: 2025-07-27T01:41:44.185Z (11 months ago)
- Language: HTML
- Homepage: https://mmesch.github.io/x3d/
- Size: 2.77 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How to produce a working x3d file from obspy:
## Moment tensor:
1. save a mayavi scene as x3d
2. copy the x3d content into the HTML TEMPLATE that is attached at the bottom
of this text file
3. add true closure nodes, as in the HTML TEMPLATE. E.g.
``
becomes:
``
This seems to be a major issue with many browsers.
4. another point is to check that the order of the x3d elements is the same as below
## HTML TEMPLATE
```
Obspy Moment Tensor
x3d
{
width:80%;
height:80%;
display:block;
position:absolute;
top:10%;
left:10%;
border:1px green;
}
body
{
background-color: black;
}
h1
{
text-align:center;
color:#F7F2E0;
}
Obspy Moment Tensor
```