After a problem with spherical triangle implementation (my problem, not JSCAD problem) ...
https://openjscad.nodebb.com/topic/378/problem-with-subtract-ing-hull-is-this-a-bug/3?_=1660487451987
... now spherical triangle works. I called it three times to fill one spherical pentagon:
,sp_tria(2,1,15)
,sp_tria(2,15,16)
,sp_tria(2,16,3)
...
You can see spherical gray polygon from outside, and nothing of spherical polygon breaks into white sphere difference on the inside:
Click for view+rotate+zoom, design regeneration takes less than 3 seconds on Intel i7 Chrome
(normally I use chromium-browser on Raspberry Pi OS, will test that in 2 weeks):
https://www.openjscad.xyz/?uri=https://stamm-wilbrandt.de/en/forum/JSCAD.spherical_polygon.js
Clicking "Enable Auoto-zoom" and "Enable Auto-rotate" results in nice animation ...
P.S:
Next step is to port "vtxt()" for adding text labels to vertex sphere, and "half()" for subtracting cube from inner side of vertex sphere, avoiding vertex to shine through to inside for 3Dprinting later.
After that is done, I will make "node.tetra.js" create JSCAD output as alternative to sofar OpenSCAD output. Creating C60 with 12 spherical pentagons JSCAD file and measuring design regeneration time for it will answer whether JSCAD is usable for great circle arc edge embedding of planar graphs onto sphere: 12 spherical pentagons is 12*3=36 spherical triangles, is 72 "sp_tria2()" and 36 differences with "hull()" of 6 points (mini cubes) ...