Skip to content

Commit

Permalink
Keep the log files
Browse files Browse the repository at this point in the history
  • Loading branch information
avidit committed Oct 20, 2023
1 parent 0ad12ed commit 083e2f5
Show file tree
Hide file tree
Showing 3 changed files with 661 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/distrib/NodeHelpFiles/CoreNodeModels.ColorRange.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## In Depth
Color Range will create a gradient between a set of input colors, and allow colors from that gradient to be selected by a list of input values. The first input, colors, is a list of colors to use in the gradient. The second input, indices, will determine the relative location of the input colors in the gradient. This list should correspond to the list of colors, each value being in the range 0 to 1. The exact value is not important, only the relative position of the values. The color corresponding to the lowest value will be on the left of the gradient, and the color corresponding to the highest value will be on the right side of the gradient. The final value input allows the user to select points along the gradient in the range 0 to 1 to output. In the example below, we first create two colors: red and blue. The order of these colors in the gradient is determined by a list that we create with a code block. A third code block is used to create a range of numbers between 0 and 1 that will determine the output colors from the gradient. A set of cubes is generated along the x-axis, and these cubes are finally colored according the gradient by using a Display.ByGeometryColor node.
Color Range will create a gradient between a set of input colors, and allow colors from that gradient to be selected by a list of input values. The first input, colors, is a list of colors to use in the gradient. The second input, indices, will determine the relative location of the input colors in the gradient. This list should correspond to the list of colors, each value being in the range 0 to 1. The exact value is not important, only the relative position of the values. The color corresponding to the lowest value will be on the left of the gradient, and the color corresponding to the highest value will be on the right side of the gradient. The final value input allows the user to select points along the gradient in the range 0 to 1 to output. In the example below, we first create two colors: red and blue. The order of these colors in the gradient is determined by a list that we create with a code block. A third code block is used to create a range of numbers between 0 and 1 that will determine the output colors from the gradient. A set of cubes is generated along the x-axis, and these cubes are finally colored according to the gradient by using a Display.ByGeometryColor node.
___
## Example File

Expand Down
Loading

0 comments on commit 083e2f5

Please sign in to comment.