What it does
PhysicalSky takes elevation (a float) and turbidity (a float), and answers an integer.
Syntax
PhysicalSky(elevation float, turbidity float) → integerParameters
| Name | Type |
|---|---|
| elevation | float |
| turbidity | float |
Every form returns
integer
Example · generated
DO Print(PhysicalSky(1.0, 1.0)) Sync()LOOPPhysicalSky is called and its answer is printed every frame. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.