visual3d:documentation:pipeline:expressions:expression_numbers
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:expressions:expression_numbers [2024/07/17 15:22] – sgranger | visual3d:documentation:pipeline:expressions:expression_numbers [2024/09/05 18:32] (current) – [Random] wikisysop | ||
---|---|---|---|
Line 5: | Line 5: | ||
rand(lo_value, | rand(lo_value, | ||
+ | < | ||
Example : rand() will generate a random number in the range 0 to 1 | Example : rand() will generate a random number in the range 0 to 1 | ||
- | [[Visual3D: | + | |
+ | Set_Pipeline_Parameter_From_Expression | ||
/ | / | ||
/ | / | ||
/ | / | ||
- | **;** | + | ; |
- | ::TEST1 = 0.220525 | + | |
+ | TEST1 = 0.220525 | ||
Example : rand(lo_value, | Example : rand(lo_value, | ||
- | [[Visual3D: | + | |
+ | Set_Pipeline_Parameter_From_Expression | ||
/ | / | ||
/ | / | ||
/ | / | ||
- | **;** | + | ; |
- | ::TEST2 = 2.232995 | + | |
- | Example : rand(lo_value, | + | TEST2 = 2.232995 |
- | [[Visual3D: | + | |
+ | Example : rand(lo_value, | ||
+ | |||
+ | Set_Pipeline_Parameter_From_Expression | ||
/ | / | ||
/ | / | ||
/ | / | ||
- | **;** | + | ; |
::TEST3 = 2.808424+2.582592+2.346721+2.697052+2.662510+2.861250+2.843808+...(to number of frames) | ::TEST3 = 2.808424+2.582592+2.346721+2.697052+2.662510+2.861250+2.843808+...(to number of frames) | ||
+ | |||
Example : rand(lo_value, | Example : rand(lo_value, | ||
- | [[Visual3D: | + | |
+ | Set_Pipeline_Parameter_From_Expression | ||
/ | / | ||
/ | / | ||
/ | / | ||
- | **;** | + | ; |
::TEST4 = 2.446495 + 2.718410 + 2.201863 | ::TEST4 = 2.446495 + 2.718410 + 2.201863 | ||
+ | |||
Example : Create a TARGET with random values between 0 and 1 | Example : Create a TARGET with random values between 0 and 1 | ||
- | [[Visual3D: | + | |
+ | Create_Target | ||
/ | / | ||
! / | ! / | ||
/ | / | ||
! / | ! / | ||
- | **;** | + | ; |
View the resulting signal in the 3D viewer by turning on the target trail | View the resulting signal in the 3D viewer by turning on the target trail | ||
+ | </ | ||
+ | |||
{{: | {{: | ||
- | Example: create a TARGET with random values between 0 and 1. | + | |
- | [[Visual3D: | + | < |
+ | |||
+ | Create_Target | ||
/ | / | ||
! / | ! / | ||
/ | / | ||
! / | ! / | ||
- | **;** | + | ; |
- | Note that all components contain different values | + | |
- | {{: | + | Note that all components contain different values\\ |
+ | </ | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | < | ||
Example : Create a TARGET where each frame is on a random location on the surface of a sphere of radius 1 | Example : Create a TARGET where each frame is on a random location on the surface of a sphere of radius 1 | ||
- | **Evaluate_Expression** | + | |
+ | Evaluate_Expression | ||
/ | / | ||
/ | / | ||
Line 59: | Line 85: | ||
/ | / | ||
! / | ! / | ||
- | **;** | + | ; |
- | **Evaluate_Expression** | + | |
+ | Evaluate_Expression | ||
/ | / | ||
/ | / | ||
Line 66: | Line 93: | ||
/ | / | ||
! / | ! / | ||
- | **;** | + | ; |
- | [[Visual3D: | + | |
+ | Create_Target | ||
/ | / | ||
! / | ! / | ||
Line 75: | Line 103: | ||
SIN(DERIVED:: | SIN(DERIVED:: | ||
! / | ! / | ||
- | **;** | + | ; |
- | {{: | + | </ |
+ | {{: | ||
visual3d/documentation/pipeline/expressions/expression_numbers.1721229774.txt.gz · Last modified: 2024/07/17 15:22 by sgranger