Author Topic: Moon Plugin  (Read 10575 times)

Spitfire2600

  • Sr. Member
  • ****
  • Posts: 251
    • View Profile
Re: Moon Plugin
« Reply #15 on: June 08, 2015, 02:01:51 am »
My apologies, it was line 112, not 116 that needed the ")" at the end.

I will attach the correction below.

 The area of the plug in which needed ")" was

' Calculate longitude from sidereal motion
V=(J-2451555./27.321582241)
' Normalize values to range 0 to 1
V=V-int(V)
if V<0 then
 V=V+1
end if


V=(J-2451555./27.321582241    is the original.

For some reason hal just wouldn't run it with out the ")"
 

systemshock

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Re: Moon Plugin
« Reply #16 on: November 24, 2015, 08:58:20 am »
Really interesting bit of plug-in code, I wonder if can be used to trigger a background change to go with the phases of the moon or maybe we could create a figure that showed the phases of the moon  at night.
"frog's in too princess's" it just basic NLP...