178 lines
4.9 KiB
Plaintext
178 lines
4.9 KiB
Plaintext
Type: Keyword, Value: SCREEN
|
|
Type: Punctuation, Value: {
|
|
Type: Identifier, Value: Width
|
|
Type: Identifier, Value: Scale
|
|
Type: Punctuation, Value: :
|
|
Type: NumberLiteral, Value: 100
|
|
Type: Punctuation, Value: ,
|
|
Type: Identifier, Value: Height
|
|
Type: Identifier, Value: Scale
|
|
Type: Punctuation, Value: :
|
|
Type: NumberLiteral, Value: 100
|
|
Type: Punctuation, Value: ,
|
|
Type: Identifier, Value: FPS
|
|
Type: Punctuation, Value: :
|
|
Type: NumberLiteral, Value: 60
|
|
Type: Punctuation, Value: ,
|
|
Type: Punctuation, Value: }
|
|
Type: Keyword, Value: const
|
|
Type: Identifier, Value: R
|
|
Type: Punctuation, Value: =
|
|
Type: NumberLiteral, Value: 7
|
|
Type: Punctuation, Value: ;
|
|
Type: Keyword, Value: const
|
|
Type: Identifier, Value: r
|
|
Type: Punctuation, Value: =
|
|
Type: NumberLiteral, Value: 4
|
|
Type: Punctuation, Value: ;
|
|
Type: Keyword, Value: const
|
|
Type: Identifier, Value: d
|
|
Type: Punctuation, Value: =
|
|
Type: NumberLiteral, Value: 1
|
|
Type: Punctuation, Value: ;
|
|
Type: Keyword, Value: const
|
|
Type: Identifier, Value: s
|
|
Type: Punctuation, Value: =
|
|
Type: NumberLiteral, Value: 0
|
|
Type: Punctuation, Value: ;
|
|
Type: Keyword, Value: const
|
|
Type: Identifier, Value: e
|
|
Type: Punctuation, Value: =
|
|
Type: NumberLiteral, Value: 8
|
|
Type: Punctuation, Value: *
|
|
Type: Punctuation, Value: π
|
|
Type: Punctuation, Value: ;
|
|
Type: Keyword, Value: const
|
|
Type: Identifier, Value: m
|
|
Type: Punctuation, Value: =
|
|
Type: Identifier, Value: cos
|
|
Type: Punctuation, Value: (
|
|
Type: Punctuation, Value: π
|
|
Type: Punctuation, Value: /
|
|
Type: NumberLiteral, Value: 32
|
|
Type: Punctuation, Value: )
|
|
Type: Punctuation, Value: ;
|
|
Type: Keyword, Value: ANIM
|
|
Type: Identifier, Value: offset
|
|
Type: Punctuation, Value: {
|
|
Type: Identifier, Value: R
|
|
Type: Punctuation, Value: :
|
|
Type: Identifier, Value: s
|
|
Type: Punctuation, Value: ≤
|
|
Type: Identifier, Value: x
|
|
Type: Punctuation, Value: ≤
|
|
Type: Identifier, Value: e
|
|
Type: Punctuation, Value: ,
|
|
Type: Identifier, Value: S
|
|
Type: Punctuation, Value: :
|
|
Type: Punctuation, Value: π
|
|
Type: Punctuation, Value: /
|
|
Type: NumberLiteral, Value: 128
|
|
Type: Punctuation, Value: ,
|
|
Type: Identifier, Value: D
|
|
Type: Punctuation, Value: :
|
|
Type: Identifier, Value: INCREASE
|
|
Type: Punctuation, Value: }
|
|
Type: Keyword, Value: GRAPH
|
|
Type: Punctuation, Value: {
|
|
Type: Identifier, Value: X
|
|
Type: Punctuation, Value: :
|
|
Type: Punctuation, Value: (
|
|
Type: Identifier, Value: R
|
|
Type: Punctuation, Value: -
|
|
Type: Identifier, Value: r
|
|
Type: Punctuation, Value: )
|
|
Type: Punctuation, Value: *
|
|
Type: Identifier, Value: cos
|
|
Type: Punctuation, Value: (
|
|
Type: Identifier, Value: t
|
|
Type: Punctuation, Value: )
|
|
Type: Punctuation, Value: +
|
|
Type: Identifier, Value: d
|
|
Type: Punctuation, Value: *
|
|
Type: Identifier, Value: cos
|
|
Type: Punctuation, Value: (
|
|
Type: Punctuation, Value: (
|
|
Type: Punctuation, Value: (
|
|
Type: Identifier, Value: R
|
|
Type: Punctuation, Value: -
|
|
Type: Identifier, Value: r
|
|
Type: Punctuation, Value: )
|
|
Type: Punctuation, Value: /
|
|
Type: Identifier, Value: r
|
|
Type: Punctuation, Value: )
|
|
Type: Punctuation, Value: *
|
|
Type: Identifier, Value: t
|
|
Type: Punctuation, Value: )
|
|
Type: Punctuation, Value: ,
|
|
Type: Identifier, Value: Y
|
|
Type: Punctuation, Value: :
|
|
Type: Punctuation, Value: (
|
|
Type: Identifier, Value: R
|
|
Type: Punctuation, Value: -
|
|
Type: Identifier, Value: r
|
|
Type: Punctuation, Value: )
|
|
Type: Punctuation, Value: *
|
|
Type: Identifier, Value: sin
|
|
Type: Punctuation, Value: (
|
|
Type: Identifier, Value: t
|
|
Type: Punctuation, Value: )
|
|
Type: Punctuation, Value: -
|
|
Type: Identifier, Value: d
|
|
Type: Punctuation, Value: *
|
|
Type: Identifier, Value: sin
|
|
Type: Punctuation, Value: (
|
|
Type: Punctuation, Value: (
|
|
Type: Punctuation, Value: (
|
|
Type: Identifier, Value: R
|
|
Type: Punctuation, Value: -
|
|
Type: Identifier, Value: r
|
|
Type: Punctuation, Value: )
|
|
Type: Punctuation, Value: /
|
|
Type: Identifier, Value: r
|
|
Type: Punctuation, Value: )
|
|
Type: Punctuation, Value: *
|
|
Type: Identifier, Value: t
|
|
Type: Punctuation, Value: )
|
|
Type: Punctuation, Value: ,
|
|
Type: Identifier, Value: T
|
|
Type: Punctuation, Value: :
|
|
Type: Keyword, Value: ANIM
|
|
Type: Punctuation, Value: {
|
|
Type: Identifier, Value: R
|
|
Type: Punctuation, Value: :
|
|
Type: Identifier, Value: s
|
|
Type: Punctuation, Value: +
|
|
Type: Identifier, Value: offset
|
|
Type: Punctuation, Value: ≤
|
|
Type: Identifier, Value: x
|
|
Type: Punctuation, Value: ≤
|
|
Type: Identifier, Value: e
|
|
Type: Punctuation, Value: +
|
|
Type: Identifier, Value: offset
|
|
Type: Punctuation, Value: ,
|
|
Type: Identifier, Value: S
|
|
Type: Punctuation, Value: :
|
|
Type: Punctuation, Value: π
|
|
Type: Punctuation, Value: /
|
|
Type: NumberLiteral, Value: 32
|
|
Type: Punctuation, Value: }
|
|
Type: Punctuation, Value: ,
|
|
Type: Identifier, Value: C
|
|
Type: Punctuation, Value: _
|
|
Type: Identifier, Value: w
|
|
Type: Punctuation, Value: :
|
|
Type: Punctuation, Value: (
|
|
Type: Punctuation, Value: (
|
|
Type: Identifier, Value: t
|
|
Type: Punctuation, Value: -
|
|
Type: Identifier, Value: s
|
|
Type: Punctuation, Value: )
|
|
Type: Punctuation, Value: /
|
|
Type: Punctuation, Value: (
|
|
Type: Identifier, Value: e
|
|
Type: Punctuation, Value: -
|
|
Type: Identifier, Value: s
|
|
Type: Punctuation, Value: )
|
|
Type: Punctuation, Value: )
|
|
Type: Punctuation, Value: } |