File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,16 +171,22 @@ h1:first-child {
171171 text-shadow : none;
172172 width : 192px ;
173173}
174+ .border {
175+ border : 1px solid # 555 ;
176+ border-radius : 5px ;
177+ padding : 4px ;
178+ }
174179.fright {
175180 float : right;
176- margin-left : 1em ;
181+ margin : 0 0 0.5 em 1em ;
177182}
178183.fleft {
179184 float : left;
180- margin-right : 1em ;
185+ margin : 0 1em 0.5 em 0 ;
181186}
182187.center {
183188 text-align : center;
189+ margin : 0 0 0.5em 0 ;
184190}
185191.previous {
186192 background-color : # F80 ;
Original file line number Diff line number Diff line change 3838< div class ="wrapper ">
3939< main >
4040< h1 > boxstep</ h1 >
41- < p > The boxstep function is somewhere between < a href ="/script/step "> step</ a > and < a href ="/script/smoothstep "> smoothstep</ a > .
42- It is the result of the convolution of a box filter with a step edge.
43- The width of the box filter is (b - a) and the slope of the ramp is 1/width.</ p >
41+ < p > The boxstep function is somewhere between < a href ="/script/step "> step</ a > and < a href ="/script/smoothstep "> smoothstep</ a > . It is
42+ the result of the convolution of a box filter with a step edge. The width
43+ of the box filter is < script type ="math/tex "> ( b - a ) </ script > and the slope of the ramp is < script type ="math/tex "> 1 / width </ script > .
44+ It can also be thought of as the inverse of linear interpolation, where
45+ a value inside a range returns a value from 0 to 1.</ p >
4446< p > < img alt ="boxstep " src ="/images/boxstep.png " title ="boxstep " /> </ p >
4547< dl class ="script ">
4648< dt > < a href ="/script/boxstep "> boxstep(a, b, x)</ a > </ dt >
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments