Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CLS
- pi = 3.14159265#
- 'Y
- xx(0) = .299
- xx(1) = .587
- xx(2) = .114
- 'I
- xx(3) = .595
- xx(4) = -.257
- xx(5) = -.321
- 'Q
- xx(6) = .212
- xx(7) = -.523
- xx(8) = .311
- FOR a = 0 TO 8
- xx(a) = (xx(a) + 1) * 256
- NEXT
- r = 97
- g = 100
- b = 128
- y = xx(0) * r + xx(1) * g + xx(2) * b
- i = xx(3) * r + xx(4) * g + xx(5) * b
- q = xx(6) * r + xx(7) * g + xx(8) * b
- y = (y) / 1024
- i = (i) / 1024
- q = (q) / 1024
- FOR a = 0 TO 8
- PRINT xx(a),
- NEXT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement