Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = 0
- b = 0
- c = 0
- d = 0
- function update() {
- a = cursor.x
- b = cursor.start
- c = cursor.y
- d++
- if (d%20 == 0) {
- for (let i = 0; i < 1; i++) {
- for (let j = 0; j < 160; j++) {
- cursor.x = j - 80
- cursor.y = i + 29
- writeChar(String.fromCharCode(Math.floor(Math.random()*10)+48), 0)
- }
- }
- }
- cursor.x = a
- cursor.start = b
- cursor.y = c
- requestAnimationFrame(update);
- }
- requestAnimationFrame(update);
Advertisement
Add Comment
Please, Sign In to add comment