meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
en:quick_reference_general [2020/12/02 00:02] JSCAD Editor [Colors] |
en:quick_reference_general [2021/04/08 05:29] (current) JSCAD Editor |
||
|---|---|---|---|
| Line 10: | Line 10: | ||
| ^ Function | ^ Function | ||
| - | | let newshape = colorize([1, | + | | let newshape = colorize([1, |
| - | | let newshape = colorize(colorNameToRgb(' | + | | let newshape = colorize(colorNameToRgb(' |
| - | | let newshape = colorize(hexToRgb('# | + | | let newshape = colorize(hexToRgb('# |
| - | | let newshape = colorize(hslToRgb([0.9166666666666666, | + | | let newshape = colorize(hslToRgb([0.9166666666666666, |
| - | | let newshape = colorize(hsvToRgb([0.9166666666666666, | + | | let newshape = colorize(hsvToRgb([0.9166666666666666, |
| === Utilities === | === Utilities === | ||
| Line 25: | Line 25: | ||
| ^ Function | ^ Function | ||
| - | | let radians = degToRad(90) | + | | let radians = degToRad(90) |
| - | | let degrees = radToDeg(Math.PI) | + | | let degrees = radToDeg(Math.PI) |
| - | | let segments = radiusToSegments(3.5, | + | | let segments = radiusToSegments(3.5, |
| - | | let segments = radiusToSegments(3.5, | + | | let segments = radiusToSegments(3.5, |