Incremental adjustments to participant's response
Alex Marchant
alex.marchant at gmail.com
Tue Nov 20 09:26:34 UTC 2007
thanks Chunhui for your speedy reply. I'll give it a go.
Alex
On Nov 19, 2007 7:06 PM, chen <chunhuichen at 126.com> wrote:
>
> Hi, I don't konow how to draw circles, but i had wrote a program to change
> the fontsize automaticlly, maybe similar to your second question.
>
> "make the circle incrementally bigger or smaller (preferably a pixel
> at a time) by pressing a button, and then logging the final size."
>
> below are codes showing what I had done in my program, I just type in, not
> debuged yet, just showing the main idea.
> dim again as long
> dim radius as long
>
> again=1
> radius=10
>
> while again
> cnvs.Circle 640, 512, radius ' in my original program, it's a
> textdisplay object
> ' presenting a word, if there is a
> response, the object
> ' will disappear, Which object can draw
> circle?
> if object.response="a" then
> again=0 ' press "a" then finish
> elseif object.response="b" then
> radius=radius+1 ' press "b" darw larger circle
> else
> radius=radius-1 ' press other key draw small circle
> endif
> wend
>
>
>
> --
> Chunhui Chen
> ______________
>
> Beijing Normal University
> &
> University of California, Irvine
>
> 在2007-11-20,"alex.marchant at gmail.com" <alex.marchant at gmail.com> 写道:
>
> Dear E-prime group,
>
> I believe a question like this was answered back before the group went
> onto google (I dimly remember something to do with adjusting the
> length of a line), but I've lost a lot of my past messages and so
> can't dig it out.
>
> I want to get participants to either...
>
> click on a circle and 'drag it' bigger or smaller, and then record the
> final 'resting' size of the circle
>
> or...
>
> make the circle incrementally bigger or smaller (preferably a pixel
> at a time) by pressing a button, and then logging the final size.
>
> At the moment I'm using E-prime to draw my stimuli. So something
> like...
> cnvs.Circle 640, 512, c.GetAttrib("TargetSize")
>
> Where the '640' and '512' are coordinates and the
> 'c.GetAttrib("TargetSize")' is the radius of the circle.
>
> Any help would be greatly appreciated on either or both (if you have
> the time!) questions.
>
> many thanks
>
> Alex Marchant MSc
> Goldsmiths, University of London
>
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com
To unsubscribe from this group, send email to e-prime-unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en
-~----------~----~----~----~------~----~------~--~---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20071120/35f1677c/attachment.htm>
More information about the Eprime
mailing list