Difference between revisions of "How to Use Embedded Math in VTube Float Point Edit Boxes"

From ATTWiki
Jump to: navigation, search
(Symbols, Constants, and Functions)
(Symbols, Constants, and Functions)
Line 78: Line 78:
 
=Symbols, Constants, and Functions=
 
=Symbols, Constants, and Functions=
  
<table>
+
<table border=1>
 
   <tr>
 
   <tr>
 
     <th>Symbol</th>
 
     <th>Symbol</th>

Revision as of 03:27, 9 February 2020

Vtube-step logo 2.png Vtube-laser logo 1.96.png

This article shows how to use embedded math functions in VTube float point edit boxes.

Contents


The Floating Point Edit Box Embedded Calculator

As of version 3, VTube-STEP and VTube-LASER includes an embedded calculator in the floating point edit boxes anywhere in the main user interface.

See this example of how it works.


This is the tube before the change.

Editcalc 002.png

Choose the LL value in the LRA grid.

Editcalc 001.png

Subtract 5.2 like this:

Editcalc 003.png

The VTube calculator returns the result in the edit box like this:

Editcalc 004.png

Now reverse-calc the data and this is the new tube.

Editcalc 005.png




Symbols, Constants, and Functions

Symbol Description Entry Result
+ Add 1+1 2
- Subtract 9-5 4
* Multiply 3*6 18
/ Divide 3/8 0.375
\ Integer divide by 9/2 4
! Factorial 5! 120
( ) Nesting Parenthesis 2 * (5+4) 18
mod Modulo (remainder) 7 mod 4 3
^ Raised to the power of 4 ^ 5 1024
Length2D Find the length between two 2D points Length2D(0,0,5,5)
Length3D Find the length between two 3D points Lenth3D(0,0,0,10,10,10)
Sqr Find the square root sqr(64) 8
Frac Fractional part frac(3.125) 0.125




Other Pages