Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wildpeaks/proto-arcline
PROTO ArcLine
https://github.com/wildpeaks/proto-arcline
vrml
Last synced: 23 days ago
JSON representation
PROTO ArcLine
- Host: GitHub
- URL: https://github.com/wildpeaks/proto-arcline
- Owner: wildpeaks
- License: mit
- Created: 2018-02-02T12:09:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-02T18:37:51.000Z (almost 7 years ago)
- Last Synced: 2024-11-06T03:11:53.445Z (2 months ago)
- Topics: vrml
- Size: 50.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ArcLine
VRML PROTO (based on `IndexedLineSet`) that generates the outline for part of a flat circle (e.g. for **pie charts**),
similar to [PROTO Arc](https://github.com/wildpeaks/proto-arc).EXTERNPROTO ArcLine [
exposedField SFFloat fromAngle
exposedField SFFloat toAngle
exposedField SFFloat radius
exposedField SFFloat tesselation
exposedField SFBool beginCap
exposedField SFBool endCap
] "proto.ArcLine.wrl#ArcLine"-------------------------------------------------------------------------------
## Property `fromAngle`
**Start angle** (in radians).
Definition:
- Field Type: `exposedField`
- Data Type: `SFFloat`
- Default Value: `0`-------------------------------------------------------------------------------
## Property `toAngle`
**End angle** (in radians).
If `toAngle > fromAngle`, the mesh is generated **clockwise**, otherwise **anti-clockwise**.Definition:
- Field Type: `exposedField`
- Data Type: `SFFloat`
- Default Value: `6.28318`-------------------------------------------------------------------------------
## Property `radius`
**Radius** of the circle.
Definition:
- Field Type: `exposedField`
- Data Type: `SFFloat`
- Default Value: `1`-------------------------------------------------------------------------------
## Property `tesselation`
Intermediary steps on the curve.
In short, **higher tesselation = rounder shape = more vertices**.Definition:
- Field Type: `exposedField`
- Data Type: `SFFloat`
- Default Value: `16`-------------------------------------------------------------------------------
## Property `beginCap`
When `TRUE`, it adds a line segment from the center of the circle to the beginning of the curve.
Definition:
- Field Type: `exposedField`
- Data Type: `SFBool`
- Default Value: `TRUE`-------------------------------------------------------------------------------
## Property `endCap`
When `TRUE`, it adds a line segment from the center of the circle to the end of the curve.
Definition:
- Field Type: `exposedField`
- Data Type: `SFBool`
- Default Value: `TRUE`-------------------------------------------------------------------------------