aframe-babia-components
Version:
A data visualization set of components for A-Frame.
85 lines • 5.87 kB
JSON
{
"nodes": [
{ "id": "C1", "lat": 0, "lon": 0, "value": 12, "label": "C8a", "color": "black", "type": "sp2 C (ring fusion)", "region": "Purine C8a" },
{ "id": "N1", "lat": 15, "lon": 0, "value": 14, "label": "N1", "color": "blue", "type": "sp2 N (tertiary)", "region": "Imidazole N1" },
{ "id": "C2", "lat": 22, "lon": 20, "value": 12, "label": "C2", "color": "black", "type": "sp2 C (carbonyl)", "region": "Imidazole C2" },
{ "id": "N2", "lat": 15, "lon": 40, "value": 14, "label": "N3", "color": "blue", "type": "sp2 N (tertiary)", "region": "Imidazole N3" },
{ "id": "C3", "lat": 0, "lon": 40, "value": 12, "label": "C4a", "color": "black", "type": "sp2 C (ring fusion)", "region": "Purine C4a" },
{ "id": "C4", "lat": -15, "lon": 30, "value": 12, "label": "C4", "color": "black", "type": "sp2 C (carbonyl)", "region": "Pyrimidine C4" },
{ "id": "N3", "lat": -22, "lon": 10, "value": 14, "label": "N7", "color": "blue", "type": "sp2 N (tertiary)", "region": "Pyrimidine N7" },
{ "id": "C5", "lat": -15, "lon": -10, "value": 12, "label": "C5", "color": "black", "type": "sp2 C (aromatic)", "region": "Pyrimidine C5" },
{ "id": "N4", "lat": 0, "lon": -15, "value": 14, "label": "N9", "color": "blue", "type": "sp2 N (tertiary)", "region": "Pyrimidine N9" },
{ "id": "O1", "lat": 30, "lon": 30, "value": 16, "label": "O2", "color": "red", "type": "sp2 O (C=O)", "region": "Carbonyl C2=O" },
{ "id": "O2", "lat": -22, "lon": 50, "value": 16, "label": "O4", "color": "red", "type": "sp2 O (C=O)", "region": "Carbonyl C4=O" },
{ "id": "C6", "lat": 22, "lon": -15, "value": 12, "label": "CH₃(N1)", "color": "black", "type": "sp3 C (N-methyl)", "region": "N1-methyl" },
{ "id": "C7", "lat": -30, "lon": -25, "value": 12, "label": "CH₃(N7)", "color": "black", "type": "sp3 C (N-methyl)", "region": "N7-methyl" },
{ "id": "C8", "lat": 15, "lon": 60, "value": 12, "label": "CH₃(N3)", "color": "black", "type": "sp3 C (N-methyl)", "region": "N3-methyl" },
{ "id": "H1", "lat": 30, "lon": -25, "value": 1, "label": "Hα(C6)", "color": "grey", "type": "sp3 H (methyl)", "region": "N1-methyl" },
{ "id": "H2", "lat": 28, "lon": -5, "value": 1, "label": "Hβ(C6)", "color": "grey", "type": "sp3 H (methyl)", "region": "N1-methyl" },
{ "id": "H3", "lat": 18, "lon": -28, "value": 1, "label": "Hγ(C6)", "color": "grey", "type": "sp3 H (methyl)", "region": "N1-methyl" },
{ "id": "H4", "lat": -38, "lon": -35, "value": 1, "label": "Hα(C7)", "color": "grey", "type": "sp3 H (methyl)", "region": "N7-methyl" },
{ "id": "H5", "lat": -35, "lon": -15, "value": 1, "label": "Hβ(C7)", "color": "grey", "type": "sp3 H (methyl)", "region": "N7-methyl" },
{ "id": "H6", "lat": -25, "lon": -32, "value": 1, "label": "Hγ(C7)", "color": "grey", "type": "sp3 H (methyl)", "region": "N7-methyl" },
{ "id": "H7", "lat": 8, "lon": 70, "value": 1, "label": "Hα(C8)", "color": "grey", "type": "sp3 H (methyl)", "region": "N3-methyl" },
{ "id": "H8", "lat": 22, "lon": 68, "value": 1, "label": "Hβ(C8)", "color": "grey", "type": "sp3 H (methyl)", "region": "N3-methyl" },
{ "id": "H9", "lat": 18, "lon": 75, "value": 1, "label": "Hγ(C8)", "color": "grey", "type": "sp3 H (methyl)", "region": "N3-methyl" },
{ "id": "H10", "lat": -30, "lon": 15, "value": 1, "label": "H8", "color": "grey", "type": "sp2 H (C-H aromatic)", "region": "Imidazole C8-H" }
],
"links": [
{"source": "C1", "target": "N1", "type": "proximity"},
{"source": "N1", "target": "C2", "type": "proximity"},
{"source": "C2", "target": "N2", "type": "proximity"},
{"source": "N2", "target": "C3", "type": "proximity"},
{"source": "C3", "target": "C1", "type": "proximity"},
{"source": "C3", "target": "C4", "type": "proximity"},
{"source": "C4", "target": "N3", "type": "proximity"},
{"source": "N3", "target": "C5", "type": "proximity"},
{"source": "C5", "target": "N4", "type": "proximity"},
{"source": "N4", "target": "C1", "type": "proximity"},
{"source": "N1", "target": "C6", "type": "proximity"},
{"source": "N3", "target": "C7", "type": "proximity"},
{"source": "N2", "target": "C8", "type": "proximity"},
{"source": "C6", "target": "H1", "type": "proximity"},
{"source": "C6", "target": "H2", "type": "proximity"},
{"source": "C6", "target": "H3", "type": "proximity"},
{"source": "C7", "target": "H4", "type": "proximity"},
{"source": "C7", "target": "H5", "type": "proximity"},
{"source": "C7", "target": "H6", "type": "proximity"},
{"source": "C8", "target": "H7", "type": "proximity"},
{"source": "C8", "target": "H8", "type": "proximity"},
{"source": "C8", "target": "H9", "type": "proximity"},
{"source": "N3", "target": "H10", "type": "proximity"},
{"source": "C2", "target": "O1", "type": "quimical"},
{"source": "C4", "target": "O2", "type": "quimical"}
],
"constellations": [
{
"id": "ring_imidazole",
"name": "Imidazole Ring",
"description": "Five-membered ring (Ring A)",
"nodes": ["C1", "N1", "C2", "N2", "C3"],
"color": "#00CED1"
},
{
"id": "ring_pyrimidine",
"name": "Pyrimidine Ring",
"description": "Six-membered ring (Ring B)",
"nodes": ["C1", "N4", "C5", "N3", "C4", "C3"],
"color": "#FF6347"
},
{
"id": "carbonyl_groups",
"name": "Carbonyl Groups",
"description": "Two C=O double bonds",
"nodes": ["C2", "O1", "C4", "O2"],
"color": "#FFD700"
},
{
"id": "methyl_groups",
"name": "Methyl Groups",
"description": "Three CH₃ substituents",
"nodes": ["C6", "C7", "C8", "H1", "H2", "H3", "H4", "H5", "H6", "H7", "H8", "H9"],
"color": "#98FB98"
}
]
}