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

20
LINES

< > BotCompany Repo | #1019576 // Eyebrow Verbalizer [use with Live Web Cam and Live Eyebrow Finder]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Libraryless. Click here for Pure Java version (15447L/107K).

1  
!7
2  
3  
module EyebrowVisualizer > DynPrintLogAndEnabled {
4  
  transient SS map = litmap(
5  
    'low, "No",
6  
    'high, "Yes!",
7  
    "right high", "What?",
8  
    "left high", "Really?"
9  
  );
10  
  
11  
  transient OnStableValue<S> onStableValue = OnStableValue<S>(0.5, voidfunc(S state) enter {
12  
    if (enabled) dm_sayEnglish(map.get(state))
13  
  });
14  
  
15  
  start {
16  
    dm_vmBus_onMessage_thread('eyebrows, voidfunc(S state) {
17  
      onStableValue.set(state)
18  
    });
19  
  }
20  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 12 computer(s): bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1019576
Snippet name: Eyebrow Verbalizer [use with Live Web Cam and Live Eyebrow Finder]
Eternal ID of this version: #1019576/12
Text MD5: 4b66a101b07fec3e6de4e75c66dd3488
Transpilation MD5: 9a2bed23558f6147a61a3719807d6f94
Author: stefan
Category: javax / a.i.
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-11-12 21:30:11
Source code size: 464 bytes / 20 lines
Pitched / IR pitched: No / No
Views / Downloads: 305 / 824
Version history: 11 change(s)
Referenced in: [show references]