Using a slider to animate radius

83 views
Skip to first unread message

kenr...@gmail.com

unread,
Aug 25, 2010, 9:39:26 PM8/25/10
to tinspire
When I try to add a slider to change the size of the circle, thus the radius (and circumference & area) an error message pops up the variable is already in use. The value is outside the parameters of the slider.

This is most likely due to the radius changing as the circle is grabbed and moved, not by changing the radius directly. The slider apparently has a range between 0 and 10, while the range is not as limited.
Is there a "work around?"

Ray

Sean Bird

unread,
Aug 25, 2010, 10:46:21 PM8/25/10
to tins...@googlegroups.com
If you want to use the built-in sliders to control something, in other words, as the driver, then create the slider first.
These sliders can be changed by right-clicking (ctrl menu) on them and choose 'Settings...'
So you are not limited to 0 to 10.

Now in order to make a circle dependent on the slider value, there may be a few ways to get it done, but it is helpful to know that you cannot click on the value in one of these sliders to define it to be something (like the radius). So what I did after making a slider called 'radius' was to right-click > Text and type R. Then I right-clicked on R and chose Calculate. Then I pressed VAR and selected 'radius'.  Now that I have the number on the screen I can use the menu > Shapes > Circle tool (or you could use menu > Construction > Compass). Click the number and a cirlce will appear. Press click when you have it where you want it.

- Sean Bird
Indianapolis, IN
http://covenantchristian.org/bird/Nspire.html

Steve Phelps

unread,
Aug 26, 2010, 4:33:57 AM8/26/10
to tinspire
it would be VERY nice to just be able to click on the slider to use is
as a variable, without having to go through the whole text and
calculate thing.

On Aug 25, 10:46 pm, Sean Bird <covenantb...@gmail.com> wrote:
> If you want to use the built-in sliders to control something, in other
> words, as the driver, then create the slider first.
> These sliders can be changed by right-clicking (ctrl menu) on them and
> choose 'Settings...'
> So you are not limited to 0 to 10.
>
> Now in order to make a circle dependent on the slider value, there may be a
> few ways to get it done, but it is helpful to know that you cannot click on
> the value in one of these sliders to define it to be something (like the
> radius). So what I did after making a slider called 'radius' was to
> right-click > Text and type R. Then I right-clicked on R and chose
> Calculate. Then I pressed VAR and selected 'radius'.  Now that I have the
> number on the screen I can use the menu > Shapes > Circle tool (or you could
> use menu > Construction > Compass). Click the number and a cirlce will
> appear. Press click when you have it where you want it.
>
> - Sean Bird
> Indianapolis, INhttp://covenantchristian.org/bird/Nspire.html

Nelson Sousa

unread,
Aug 26, 2010, 5:46:26 AM8/26/10
to tins...@googlegroups.com

There's an easier way.

Create a number anywhere on the screen and use it as the radius of the circle: create a circle by clicking once to set the center then on that number. Add the slider (this could have been done first, but it's irrelevant) and set it up. Finally, right click on the number, select Variables > Link To and choose the slider's variable.

This isn't as easy as simply clicking on the slider, but it requires only one extra step.

Cheers,
Nelson


--
To post to this group, send email to tins...@googlegroups.com
To unsubscribe send email to tinspire+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
The tns documents shared by group members are archived at
http://lafacroft.com/archive/nspire.php

Ray Fox

unread,
Aug 26, 2010, 10:47:05 PM8/26/10
to tins...@googlegroups.com
Thanks,
 
Both ways work great, but not exactly like I want.
I'm doing a presentation at a conference showing the relationship of radius, circumference, and area using data capture and statistics view.
Thought it would be a nice last touch to use a slider to animate the circle and capture data. These methods definitely work, but start off more advanced than I hoped.
 
BTW, is there a way to start and especially stop the animation w/o right clicking the slider?
 
Thanks again,
 
Ray

Ray Fox

unread,
Aug 26, 2010, 10:50:42 PM8/26/10
to tins...@googlegroups.com
Is there a way to have it go through the cycle only once??

Bikash Jain

unread,
Aug 27, 2010, 2:31:42 AM8/27/10
to tins...@googlegroups.com
Hey, Can u elaborate a bit..

Thanks & regards,

Bikash Jain

"Save paper, Save tree, Save life"

--

To post to this group, send email to tins...@googlegroups.com
To unsubscribe send email to tinspire+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
The tns documents shared by group members are archived at
http://lafacroft.com/archive/nspire.php

**********************************************************************
This email may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized review, use or distribution by others is strictly prohibited. If you have received the message in error, please advise the sender by reply email and delete the message. Thank you.
**********************************************************************

Ray Fox

unread,
Aug 27, 2010, 6:05:16 AM8/27/10
to tins...@googlegroups.com
1) Is there a way to add the slider AFTER the circle is created.
2) Control the lenght of time for the animation by a) limit to one cycle (1-15) or b) start and stop easily & quickly w/o right clicking on the slider.
 
Thanks,
 
Ray

Nelson Sousa

unread,
Aug 27, 2010, 7:03:42 AM8/27/10
to tins...@googlegroups.com

I personally don't like using sliders to control geometry constructions very much.

I prefer to have points in segments in order to animate a construction (ples, when it's animated we get a really nice play/pause/rewind control pallette).

Start by drawing a segment OP and define a point A in that segment. Build the circle with center in O and passing by A. Now animate A. Point P and the segment can be hidden.

As for animating only once: there's a rather complex technique, envolving carefully chosen animation parameters and programs inside dynamic math boxes that allow that, but I don't think that's what you're aiming at. 

Cheers,
Nelson

Bikash Jain

unread,
Aug 27, 2010, 7:25:12 AM8/27/10
to tins...@googlegroups.com

Hi Can you elaborate how to “Click on the slider” and use it as a variable…

 

<< it would be VERY nice to just be able to ***click on the slider to use is
as a variable***, without having to go through the whole text and
calculate thing.>>

 

Thanks & regards,

 

Bikash Jain

Educomp Solutions Ltd.

Ph:   +91-11-25749803 (Extn-189)

Mob: +91-9999009564

 

"Save paper, Save tree, Save life"

Nelson Sousa

unread,
Aug 27, 2010, 7:59:00 AM8/27/10
to tins...@googlegroups.com

The same way as you can click on a number and use it as the radius of a circle, it'd be nice to be able to click on the slider and define its value as the radius. I think that's what Steve means.

Nelson

Steve Phelps

unread,
Aug 27, 2010, 11:22:46 AM8/27/10
to tinspire
yes...that is it.

And I always forget about animating a point.

On Aug 27, 7:59 am, Nelson Sousa <nso...@gmail.com> wrote:
> The same way as you can click on a number and use it as the radius of a
> circle, it'd be nice to be able to click on the slider and define its value
> as the radius. I think that's what Steve means.
>
> Nelson
>
> On Fri, Aug 27, 2010 at 12:25, Bikash Jain <
>
> bikash.j...@learninglinksindia.org> wrote:
> >  Hi Can you elaborate how to “Click on the slider” and use it as a
> > variable…
>
> > << it would be VERY nice to just be able to ***click on the slider to use
> > is
> > as a variable***, without having to go through the whole text and
> > calculate thing.>>
>
> > Thanks & regards,
>
> > Bikash Jain
>
> > Educomp Solutions Ltd.
>
> > Ph:   +91-11-25749803 (Extn-189)
>
> > Mob: +91-9999009564
>
> > "Save paper, Save tree, Save life"
> >   ------------------------------
>
> > *From:* tins...@googlegroups.com [mailto:tins...@googlegroups.com] *On
> > Behalf Of *Nelson Sousa
> > *Sent:* Friday, August 27, 2010 4:34 PM
> > *To:* tins...@googlegroups.com
> > *Subject:* Re: [tinspire] Re: Using a slider to animate radius
>
> > I personally don't like using sliders to control geometry constructions
> > very much.
>
> > I prefer to have points in segments in order to animate a construction
> > (ples, when it's animated we get a really nice play/pause/rewind control
> > pallette).
>
> > Start by drawing a segment OP and define a point A in that segment. Build
> > the circle with center in O and passing by A. Now animate A. Point P and the
> > segment can be hidden.
>
> > As for animating only once: there's a rather complex technique, envolving
> > carefully chosen animation parameters and programs inside dynamic math boxes
> > that allow that, but I don't think that's what you're aiming at.
>
> > Cheers,
>
> > Nelson
>
> > To unsubscribe send email to tinspire+u...@googlegroups.com<tinspire%2Bunsu...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
> > The tns documents shared by group members are archived at
> >http://lafacroft.com/archive/nspire.php
>
> >   **********************************************************************
> > This email may contain confidential and privileged material for the sole
> > use of the intended recipient. Any unauthorized review, use or distribution
> > by others is strictly prohibited.  If you have received the message in
> > error, please advise the sender by reply email and delete the message. Thank
> > you.
> > **********************************************************************
>
> > --
> > To post to this group, send email to tins...@googlegroups.com
> > To unsubscribe send email to tinspire+u...@googlegroups.com<tinspire%2Bunsu...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
> > The tns documents shared by group members are archived at
> >http://lafacroft.com/archive/nspire.php
>
> > --
> > To post to this group, send email to tins...@googlegroups.com
> > To unsubscribe send email to tinspire+u...@googlegroups.com<tinspire%2Bunsu...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
> > The tns documents shared by group members are archived at
> >http://lafacroft.com/archive/nspire.php
>
> > --
> > To post to this group, send email to tins...@googlegroups.com
> > To unsubscribe send email to tinspire+u...@googlegroups.com<tinspire%2Bunsu...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com.au/group/tinspire?hl=en-GB?hl=en-GB
> > The tns documents shared by group members are archived at
> >http://lafacroft.com/archive/nspire.php
>
> >   --
> > To post to this group, send email to tins...@googlegroups.com
> > To unsubscribe send email to tinspire+u...@googlegroups.com<tinspire%2Bunsu...@googlegroups.com>

Ray Fox

unread,
Aug 27, 2010, 8:50:01 PM8/27/10
to tins...@googlegroups.com
Well, I did not know about animating a point. Thanks!!
 
Ray

Nelson Sousa

unread,
Aug 28, 2010, 6:17:20 AM8/28/10
to tins...@googlegroups.com

Yes, you can animate points that have at least 1 constraint: point on a line, axis, ray, segment, polygon, circle, and scatter plot are the ones I can say from the top of my head.

Cheers,
Nelson

Ray Fox

unread,
Aug 28, 2010, 9:16:40 AM8/28/10
to tins...@googlegroups.com
Great.
 
I've searched on HOW to animate, but haven't found how.
Where did you learn about this?
 
Thanks,
 
Ray

Ray Fox

unread,
Aug 28, 2010, 9:42:01 AM8/28/10
to tins...@googlegroups.com
Never mind!!
 
It is amazing the info in the user guide!
I keep forgetting to use it.
 
Ray

Nelson Sousa

unread,
Aug 28, 2010, 10:24:43 AM8/28/10
to tins...@googlegroups.com
Right click on the point, choose attributes and move to the last box.
Enter a number from 1 to 12 to select the animation speed and press
enter.

Where I learned about this? It's a cabri feature and I'm sure it's on
the user manual. But to be honest, most stuff I have no idea where I
learned... :)

Cheers
Nelson

>> > "Save paper, Sa--

Reply all
Reply to author
Forward
0 new messages