← 수업 제작 도구
홈 › Components › Graph and Graphing Calc › 화면 9

화면 9. Graph.isAnimating [source]

원본: Computation Layer 문서(Graph) · Try It (원본 화면)

화면 번호9 / 29
문서 항목 설명 (원문)Tells whether the animation is running. Use in conjunction with animationDuration.

1. 화면 캡처 (빨간 번호 = 아래 표의 번호)

화면 9 캡처

화면에 적힌 영어 문구(원문):

2. CL이 입력된 곳

코드 안의 회색 줄은 원문 영어 주석이고, 파란 줄은 그 영어 주석의 번역이며, 연분홍 줄은 코드가 하는 일의 설명이다.

번호이름종류CL 코드 원문, 번역, 설명
1레이블 없는 그래프그래프
# Sets the duration of this animation
▷ 이 애니메이션의 재생 시간을 정한다.
animationDuration: 5
▶ 애니메이션 재생 시간(animationDuration)은 5초로 한다.
이 값을 정하면 그래프 위에 재생바(playhead)가 생긴다.
# Creates a variable in the calculator that is 1 when the # animation is playing and 0 when it is not. ▷ 애니메이션이 재생 중이면 1, 아니면 0이 되는 변수를 계산기에 만든다. number(`i_{sAnim}`): when this.isAnimating 1 otherwise 0 ▶ 그래프의 변수 i_{sAnim}는 this.isAnimating이 참(재생 중)이면 1, 아니면 0으로 한다.
변수 이름을 백틱으로 감싸 적었으며, 백틱으로 감싼 글자는 latex 값이다. this.isAnimating은 이 그래프의 애니메이션이 재생 중인지를 참 또는 거짓으로 알려 준다.