Hi there, I found an amazing desmos activity on graphing systems of equations. The original creator had their bitmoji appear when a systems was answered correctly. I am looking to replace their bitmoji with my own but I don’t see where it is in the coding. If I share the activity with you, will someone be able to help me edit it?
Yes, go ahead and share, should be fairly easy to do. Probably a picture file within the graph component.
Here’s a link to my activity. I’d like help on Screens 9, 11, 13, 15, 17, and 18 where the Bitmojis appear.
This is what the code looks like for that particular question:
#UPDATE THESE:
solution=s9
mc=mc9
button=b9b
#DON’T MESS WITH THESE:
correct:correct
correct=((check1 and check4) or (check2 and check3)) and solution.script.correct
l1=y=-\frac{3}{2}x+1
l2=y=\frac{1}{2}x-3
eq1=simpleFunction(l1)
eq2=simpleFunction(l2)
number(A
): when correct and button.timeSincePress()>0 1 when button.timeSincePress()>0 and button.timeSincePress<1 0 otherwise 2
check1=eq1.evaluateAt(this.number(a_1
))=this.number(c_1
) and eq1.evaluateAt(this.number(d_1
))=this.number(f_1
) and not(this.number(a_1
)=this.number(d_1
) and this.number(c_1
)=this.number(f_1
))
check2=eq2.evaluateAt(this.number(a_1
))=this.number(c_1
) and eq2.evaluateAt(this.number(d_1
))=this.number(f_1
) and not(this.number(a_1
)=this.number(d_1
) and this.number(c_1
)=this.number(f_1
))
check3=eq1.evaluateAt(this.number(a_2
))=this.number(c_2
) and eq1.evaluateAt(this.number(d_2
))=this.number(f_2
) and not(this.number(a_2
)=this.number(d_2
) and this.number(c_2
)=this.number(f_2
))
check4=eq2.evaluateAt(this.number(a_2
))=this.number(c_2
) and eq2.evaluateAt(this.number(d_2
))=this.number(f_2
) and not(this.number(a_2
)=this.number(d_2
) and this.number(c_2
)=this.number(f_2
))
The bitmoji is a picture file that is inside the graph. So you don’t need to change the CL if you only want to change the picture, and not the functionality.
Just click into the graph itself, and if you scroll down, you will see two pictures called correct and nope. You can just drag your bitmoji picture file into a new row, size it like you want, and then make sure to edit the Center field to say (0, 0 {A=1}) for the correct one and (0, 0 {A=0}) for the incorrect one. Then delete the existing pictures.