iterami/Docs.htm/common HTM Repos/webgl.js/webgl_primitive_stars(args)
- Randomly creates points on a sphere.
- Additional default args are handled by webgl_prefab_args(args).
- Position is the center of the sphere.
- The "height_limit" arg is used to determine allowed y-values, with 1 being all y-values and 0 being none.
- If the "vertex_colors" prefab arg is empty, then each star will have a random color.
| character
| webgl_character_base
| string ID
|
| groups
| []
| array of strings
|
| height_limit
| 1
| number
|
| point_size
| 500
| number
|
| prefix
| entity_id_count
| string ID
|
| radius
| 250
| number
|
| range
| 100
| number
|
| stars
| 100
| number
|