Thanks naked,
I did major in math in college after starting out as biology major, too much memorization there though learning how body functions was interesting. It was Liberal college so it's not like an MIT Math Major. In fact they wouldn't let me take all the math courses I wanted and I started late so... not too much math.
Actually I learned about Computer Sin and Cos doing hexagonal drawing from example program in SmallBASIC way back in 2014-2015 or so. Oh that's why Sin and Cos are so parctical and helpful!!! From hexagonal to any polygonal number of sides. Then there was polar graphing for radianAngle = 0 to _Pi Step some fraction of Pi like with graphing heart shape. RadianAngle, as in what works for Sin and Cos functions.
I think this is that program from SmallBASIC:
You never know when a snippet like this becomes a great teacher!
Now I want to post that code to PE... because I swear this looks so different now???
Oops! No that wasn't the code I learned from, here is SB output:
I will try again the old library is still there, I contributed allot! to it. I was the librarian there for awhile
https://smallbasic.github.io/pages/samples.html
Update #2 dang could not find that old code but had fun checking out all this old stuff!
I did major in math in college after starting out as biology major, too much memorization there though learning how body functions was interesting. It was Liberal college so it's not like an MIT Math Major. In fact they wouldn't let me take all the math courses I wanted and I started late so... not too much math.
Actually I learned about Computer Sin and Cos doing hexagonal drawing from example program in SmallBASIC way back in 2014-2015 or so. Oh that's why Sin and Cos are so parctical and helpful!!! From hexagonal to any polygonal number of sides. Then there was polar graphing for radianAngle = 0 to _Pi Step some fraction of Pi like with graphing heart shape. RadianAngle, as in what works for Sin and Cos functions.

I think this is that program from SmallBASIC:
Code: (Select All)
#!/usr/local/bin/sbasic -g
' hexagon.bas
' 28/05/2000
sf=.95
x=(ymax/2)-10:y=0:cx=xmax/2:cy=ymax/2
c=cos(pi/3):s=sin(pi/3)
c1=cos(pi/36):s1=sin(pi/36)
cls
view xmax/20,xmax/20,xmax/1.2,ymax/1.2,15,2
for j=1 to 30
sx=x+cx:sy=cy-y
pset sx,sy
for i=0 to 6
sx=x+cx:sy=cy-y
line sx,sy color i*6
xn=x*c-y*s
y=x*s+y*c
x=xn
next
xn=sf*(x*c1-y*s1)
y=sf*(x*s1+y*c1)
x=xn
nextYou never know when a snippet like this becomes a great teacher!
Now I want to post that code to PE... because I swear this looks so different now???
Oops! No that wasn't the code I learned from, here is SB output:
I will try again the old library is still there, I contributed allot! to it. I was the librarian there for awhile

https://smallbasic.github.io/pages/samples.html
Update #2 dang could not find that old code but had fun checking out all this old stuff!
724 855 599 923 575 468 400 206 147 564 878 823 652 556 bxor cross forever

