Avaruus - taso pisteiden kautta
var h=4; piste(0,0,0,'o') piste(h,0,0,'x',{Color:'none'}) piste(0,h,0,'y',{Color:'none'}) piste(0,0,h,'z',{Color:'none'}) xkpiste(0,0,h,{name:'pap1',withLabel:false}) xkpiste(Math.sqrt(h),0,h,{name:'pap2',Color:'none',withLabel:false}) xkpiste(-Math.sqrt(h),0,h,{name:'pap3',Color:'none',withLabel:false}) xkpiste(0,Math.sqrt(h),h,{name:'pap4',Color:'none',withLabel:false}) xkpiste(0,-Math.sqrt(h),h,{name:'pap5',Color:'none',withLabel:false}) xkpiste(Math.sqrt(2),Math.sqrt(2),h,{name:'pap6',Color:'none',withLabel:false}) xkpiste(0,0,-h,{name:'qap1',withLabel:false}) xkpiste(Math.sqrt(h),0,-h,{name:'qap2',Color:'none',withLabel:false}) xkpiste(-Math.sqrt(h),0,-h,{name:'qap3',Color:'none',withLabel:false}) xkpiste(0,Math.sqrt(h),-h,{name:'qap4',Color:'none',withLabel:false}) xkpiste(0,-Math.sqrt(h),-h,{name:'qap5',Color:'none',withLabel:false}) xkpiste(Math.sqrt(2),Math.sqrt(2),-h,{name:'qap6',Color:'none',withLabel:false})