1 | width = 16 |
2 | height = 16 |
3 | pixels = {}
|
4 | |
5 | if cursorBlinkOn then |
6 | cursorBlinkOn = false |
7 | else |
8 | for y=0, 15 do |
9 | pixels[15+y*width] = -1 |
10 | end |
11 | cursorBlinkOn = true |
12 | end |
13 | |
14 | animateAgainIn = 1000 |
show applet test run test run with input download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
2 comment(s) hidden. show
| Recognizer | Recognition Result | Visualize | Recalc |
|---|---|---|---|
| #308 | 200 | [visualize] |
| Snippet ID: | #99 |
| Snippet name: | Blinking cursor |
| Eternal ID of this version: | #99/1 |
| Text MD5: | d02dfa9b2732bdbe075b10acc736e105 |
| Author: | stefan |
| Category: | animations |
| Type: | Lua code - Animation |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2014-01-09 03:42:10 |
| Source code size: | 200 bytes / 14 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 2230 / 937 |
| Referenced in: | [show references] |