Sg2.9
Slider range parameter.
Recent RSS
Slider range parameter.
From:  Karian Foehr
Date:  14. October 2010, 14:27

Hello,

I'm actually working on the new features of timebandit tool. I try to create a timeline in the palette with the slider component.

I have to update the range [max] parameter, who correspond to the number of layers that you create when you continuously draw.

Thanks.

Re: Slider range parameter.
Date:  15. October 2010, 14:15

Hi Karian,

Here is some sample code to help you along:

var min = 0; 
var max = 10; 

var values = {
	myValue: 5
}

var components = { 
	myValue: { 
		type: 'range', label: 'Some Value', 
		range: [min, max]
	}, 
}; 
 
var palette = new Palette('Range Component', components, values); 
 
function onMouseDown(event) { 
	max += 20; 
	components.myValue.range = [min, max]; 
}
Re: Slider range parameter.
From:  Karian Foehr
Date:  16. October 2010, 17:47

Thank you for you help,

I posted the new version of the tool, the slider-timeline works great,
I also did an "instructions" button,
I also did the frame counter in the palette.
I fixed some bugs - cleaned the code.
I updated the features description (NEW).

Best Regards

Re: Slider range parameter.
From:  Karian Foehr
Date:  16. October 2010, 18:00

If there is a way to update the document in realtime when you are dragging the slider, it will be better.

Is there possible ?

Thanks.

Scripts
08.08.14, 15:24
15.05.14, 14:23
02.03.14, 19:16
18.11.13, 14:48
22.03.13, 03:05
22.02.13, 15:45
Posts
10.01.17, 16:37
19.02.16, 06:03
19.02.16, 06:00
17.01.16, 11:00
12.01.16, 13:10
25.11.15, 08:19
Script of the Moment
Stroke Input 09.03.09