# I want to add a focus point between my two text stimuli

THIS IS MY CODE

def genString(n):
uppercase = (‘ABCDEFGHIJKLMNOPQRSTUVWXYZ’);
stringo = ‘’;
for i in range(n):
stringo += uppercase[randint(0,25)];
return stringo;
amp1=0.3
amp2=0.3
ang1=(avgangle+(diffangletemp/2)) (math.pi/180)
ang2=(avgangle-(diffangletemp/2))
(math.pi/180)

digit1 = str(randint(3,8));
for i in range(3):
if i == 1:
str_l = genString(1);
str_r = genString(1);
stringo = str_l + digit1 + str_r;
else:
stringo = genString(3);
if i==0:
textbox1 = stringo;
else:
textbox1 = textbox1 + ‘\n’ + stringo;

digit2 = str(randint(3,8));
for i in range(3):
if i == 1:
str_l = genString(1);
str_r = genString(1);
stringo = str_l + digit2 + str_r;
else:
stringo = genString(3);
if i==0:
textbox2 = stringo;
else:
textbox2 = textbox2 + ‘\n’ + stringo;
#textbox1= digit1
#textbox2= digit2

Could you place the focus point at avgangle * (math.pi/180)?

What do you mean I am confused?

What are the positions of your two text stimuli? That feels far more relevant than the code for their content.

amp1=0.3
amp2=0.3
ang1=(avgangle+(diffangletemp/2)) (math.pi/180)
ang2=(avgangle-(diffangletemp/2))
(math.pi/180)

ang=30

Hence me suggesting that you place the focus point at your average angle.

However, perhaps that’s not your question.

How are you translating your polar coordinates into x y positions?

Thank you, I wanted to know if there are settings on the builder view to add the focus point. I am new to pscyhopy/coding, in general, I am taking a research class, which is the first time I have to do all this.
I am translating my coordinates by adding the diffangletemp= 30 in the begin experiment tab of the code

I usually add text component with a + as the contents or a cross shaped polygon component.