Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

14
LINES

< > BotCompany Repo | #99 // Blinking cursor

Rendition of first frame

Lua code - Animation

width = 16
height = 16
pixels = {}

if cursorBlinkOn then
  cursorBlinkOn = false
else
  for y=0, 15 do
    pixels[15+y*width] = -1
  end
  cursorBlinkOn = true
end

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

Comments [hide]

ID Author/Program Comment Date
585 #1000610 Edit suggestion:
!636
!629

main {
static Object androidContext;
static String programID;

public static void main(String[] args) throws Exception {
width = 16
height = 16
pixels = {}

if cursorBlinkOn then
cursorBlinkOn = false
else
for y=0, 15 do
pixels[15+y*width] = -1
end
cursorBlinkOn = true
end

animateAgainIn = 1000
}}
2015-08-18 22:56:08  delete 
583 #1000604 (pitcher) 2015-08-18 00:07:22

add comment

Image recognition results

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: 1372 / 796
Referenced in: #105 - Zoomed blinking cursor
#107 - Editor - first try
#1026592 - htmlForJLabel_chatConvo
#1026598 - htmlForJLabel_chatConvo (old version with divs)
#1026599 - htmlForJLabel_chatConvo_table
#1029716 - hjs_markRowMagic
#1030645 - FIA Integration Test
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)
#3000505 - Smart Bot's answer to: !eval wikipedia("Captain America")