INNER CODE UNIT · Python

sya

TheOpenSpaceProgram/osp-magnum · scripts/icosahedron_tables.py:102

sya = 1.0/10.0 * sqrt( 10.0 * (5.0+sqrt(5.0)) )
syb = 1.0/10.0 * sqrt( 10.0 * (5.0-sqrt(5.0)) )

icosahedron_vrtx = [
    ( 0.0,    0.0,    1.0), # 0 top point
    ( cmr,    0.0,    hei), # 1 top pentagon
    ( cxa,   -sya,    hei), # 2
    (-cxb,   -syb,    hei), # 3
    (-cxb,    syb,    hei), # 4
    ( cxa,    sya,    hei), # 5
    (-cmr,    0.0,   -hei), # 6 bottom pentagon
    (-cxa,   -sya,   -hei), # 7
    ( cxb,   -syb,   -hei), # 8
    ( cxb,    syb,   -hei), # 9
    (-cxa,    sya,   -hei), # 10
    ( 0.0,    0.0,   -1.0)  # 11 bottom point
];

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…