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).

!7

module EyebrowVisualizer > DynPrintLogAndEnabled {
  transient SS map = litmap(
    'low, "No",
    'high, "Yes!",
    "right high", "What?",
    "left high", "Really?"
  );
  
  transient OnStableValue<S> onStableValue = OnStableValue<S>(0.5, voidfunc(S state) enter {
    if (enabled) dm_sayEnglish(map.get(state))
  });
  
  start {
    dm_vmBus_onMessage_thread('eyebrows, voidfunc(S state) {
      onStableValue.set(state)
    });
  }
}

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: 304 / 823
Version history: 11 change(s)
Referenced in: [show references]