hi people :D
hi from ensenada, mexico
i have a question about the object [grid]
how i get the number [0] to [1] decimal ???? example
on the exit of [grid]
numbers
|
__|___________________ | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | |_____________________ | | | | X Y |
this is because i want to move with pduino servos, and one telescope with web cam :D and i want to move very slow and stability the image because i use meccano.
thanks lot
one beat of your imagination
Hi Miguel,
You can use integers in grid (say, between 0 and 100), and then use [/ 100] to map the output to the 0-1 range.
Cheers,
Pierre.
2012/9/21 Miguel Eduardo Venegas Monroy miguelvmonroy@gmail.com
hi people :D
hi from ensenada, mexico
i have a question about the object [grid]
how i get the number [0] to [1] decimal ???? example
- X +X
- 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1
- Y +Y
- 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1
on the exit of [grid]
numbers |
__|___________________ | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | |_____________________ | | | | X Y |
this is because i want to move with pduino servos, and one telescope with web cam :D and i want to move very slow and stability the image because i use meccano.
thanks lot
one beat of your imagination
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
but if i use this
[42
|
[/ 100]
|
[0.42 \
i need to conect to the in the numbers ? or were? on properties?
my configuration is this
x min = 0 x max = 1
y min= 0 y max= 1
on the exit of [grid]
numbers
|
__|___________________ | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | |_____________________ | | | | X out Y |
idont get
this is the answer :S
out >>>>>>>>>>>>>>>
thanks Pierre Massat
It may well be that [grid] only outputs integers (0, 1, 2, 3, ...). In this case you won't get anything between 0 and 1 if you set the boundaries of grid to 0 and 1. The solution is to set a wide range in grid (say, 0-1000), and to divide the output by the value of the upper boundary (1000 in this case).
Pierre
2012/9/21 Miguel Eduardo Venegas Monroy miguelvmonroy@gmail.com
but if i use this
[42
| [/ 100] | [0.42 \i need to conect to the in the numbers ? or were? on properties?
my configuration is this
x min = 0 x max = 1
y min= 0 y max= 1
on the exit of [grid]
numbers |
__|___________________ | + + | | + + | | + + | | + + | | + + | | + + | | + + | | + + | |_____________________ | | | | X out Y |
idont get
this is the answer :S
out >>>>>>>>>>>>>>>
- X +X
- 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1
- Y +Y
- 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1
thanks Pierre Massat
thanks.
is work :D
the proyect
https://picasaweb.google.com/113390089057293315237/L4BDelCEARTE#569108852514...
and this (web cam)
https://picasaweb.google.com/113390089057293315237/LosZaragosa_OpenL4BNorte_...
livecinema