{"id":20613838,"url":"https://github.com/mmesch/x3d","last_synced_at":"2026-02-07T05:31:13.966Z","repository":{"id":149408164,"uuid":"73831641","full_name":"MMesch/x3d","owner":"MMesch","description":"check out the webpage","archived":false,"fork":false,"pushed_at":"2017-12-13T11:56:18.000Z","size":2907,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-27T01:41:44.185Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mmesch.github.io/x3d/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MMesch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-15T16:15:51.000Z","updated_at":"2017-07-10T23:14:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"43282e82-8a78-477a-aa50-8f91e5eb83b0","html_url":"https://github.com/MMesch/x3d","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MMesch/x3d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MMesch%2Fx3d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MMesch%2Fx3d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MMesch%2Fx3d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MMesch%2Fx3d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MMesch","download_url":"https://codeload.github.com/MMesch/x3d/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MMesch%2Fx3d/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29187176,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T05:07:31.176Z","status":"ssl_error","status_checked_at":"2026-02-07T05:06:15.227Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T11:11:14.159Z","updated_at":"2026-02-07T05:31:13.961Z","avatar_url":"https://github.com/MMesch.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to produce a working x3d file from obspy:\n\n## Moment tensor:\n\n1. save a mayavi scene as x3d\n2. copy the x3d content into the HTML TEMPLATE that is attached at the bottom\n   of this text file\n3. add true closure nodes, as in the HTML TEMPLATE. E.g. \n   `\u003cDirectionalLight ... on=\"true\"/\u003e`\n  becomes:\n   `\u003cDirectionalLight ... on=\"true\"\u003e\u003c/DirectionalLight\u003e`\n  This seems to be a major issue with many browsers.\n4. another point is to check that the order of the x3d elements is the same as below\n\n\n## HTML TEMPLATE\n```\n\u003chtml\u003e \n\u003chead\u003e \n    \u003ctitle\u003eObspy Moment Tensor\u003c/title\u003e\t\t\n    \u003cscript type='text/javascript' src='http://www.x3dom.org/download/x3dom.js'\u003e \u003c/script\u003e \n    \u003clink rel='stylesheet' type='text/css' href='http://www.x3dom.org/download/x3dom.css'\u003e\u003c/link\u003e \n    \u003cstyle\u003e\n        x3d\n        {\n            width:80%;\n            height:80%;\n            display:block;\n            position:absolute;\n            top:10%;\n            left:10%;\n            border:1px green;\n        }\n        body\n        {\n            background-color: black;\n        }\n        h1\n        {\n            text-align:center;\n            color:#F7F2E0;\n        }\n    \u003c/style\u003e\n\u003c/head\u003e\n\u003cbody\u003e \n    \u003ch1\u003eObspy Moment Tensor\u003c/h1\u003e \n    \u003cX3D showStat=\"false\", version=\"3.0\", width=\"800px\", height=\"600px\"\u003e\n      \u003cScene\u003e\n      \u003cnavigationInfo avatarSize='0.25 1.75 0.75' headlight='false' type='\"EXAMINE\" \"ANY\"'\u003e\u003c/navigationInfo\u003e\n      \u003cbackground skyColor='0.0 0. 0.'\u003e\u003c/background\u003e\n      \u003cviewpoint DEF='Camera' fieldOfView=\"0.523599\" position=\"4.33517 4.33703 4.33399\" description=\"Default View\" orientation=\"0.187053 0.451587 0.872399 -3.83511\" centerOfRotation=\"1.89543e-05 0.00188345 -0.00116277\"\u003e\u003c/viewpoint\u003e\n        \u003cShape\u003e\n          \u003cAppearance\u003e\n            \u003cMaterial ambientIntensity=\"0\" emissiveColor=\"1 1 1\" diffuseColor=\"1 1 1\" specularColor=\"0 0 0\" shininess=\"0.0078125\" transparency=\"0\"/\u003e\n          \u003c/Appearance\u003e\n          \u003cIndexedLineSet colorPerVertex=\"true\" coordIndex=\"\n            0 1 -1 \n            2 3 4 -1\"/\u003e\n            \u003cCoordinate DEF=\"VTKcoordinates0000\" point=\"\n              0 0 1,\n              0 8.92286e-18 1.10304,\n              8.92286e-19 0.0103041 1.07213,\n              0 8.92286e-18 1.10304,\n              -8.92286e-19 -0.0103041 1.07213\"\u003e\u003c/Coordinate\u003e\n            \u003cColor DEF=\"VTKcolors0000\" color=\"\n              0.917647 1 0,\n              0.917647 1 0,\n              0.917647 1 0,\n              0.917647 1 0,\n              0.917647 1 0\"\u003e\u003c/Color\u003e\n          \u003c/IndexedLineSet\u003e\n        \u003c/Shape\u003e\n      \u003c/Transform\u003e\n      \u003cDirectionalLight direction=\"-0.5 -0.707107 -0.5\" color=\"1 1 1\" intensity=\"1\" on=\"true\"\u003e\u003c/DirectionalLight\u003e\n      \u003cDirectionalLight direction=\"0.75 0.5 -0.433013\" color=\"1 1 1\" intensity=\"0.6\" on=\"true\"\u003e\u003c/DirectionalLight\u003e\n      \u003cDirectionalLight direction=\"-0.75 0.5 -0.433013\" color=\"1 1 1\" intensity=\"0.5\" on=\"true\"\u003e\u003c/DirectionalLight\u003e\n      \u003cDirectionalLight direction=\"0 0 -1\" color=\"1 1 1\" intensity=\"1\" on=\"false\"\u003e\u003c/DirectionalLight\u003e\n      \u003c/scene\u003e\n    \u003c/X3D\u003e\n\u003c/body\u003e \n\u003c/html\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmesch%2Fx3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmesch%2Fx3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmesch%2Fx3d/lists"}