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

17
LINES

< > BotCompany Repo | #1007546 // Circles And Lines Web Bot

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (14187L/100K).

!7

html {
  L<S> triples = lines(params.get("triples"));
  CirclesAndLines cal;
  if (nempty(triples))
    cal = webToCAL(webFromTriples(triples));
  else {
    cal = new CirclesAndLines;
    Circle a = cal.circle_autoVis("Yo", 0.2, 0.5);
    Circle b = cal.circle_autoVis("Yo-Yo", 0.8, 0.5);
    cal.arrow(a, "ARROW", b);
  }
  
  BufferedImage img = cal.makeImage(600, 400);
  ret subBot_serveJPEG(img);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1007546
Snippet name: Circles And Lines Web Bot
Eternal ID of this version: #1007546/6
Text MD5: 20a7054830615de99c1f595edb76de4a
Transpilation MD5: 0da6b235a29df1be117dbafc43706134
Author: stefan
Category: javax / a.i. / html
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-20 01:39:23
Source code size: 424 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 552 / 1174
Version history: 5 change(s)
Referenced in: #1007547 - Headless Rendering Test
#1007604 - A-vs-B Circles And Lines Web Bot
#1011246 - subBot_serveCAL
#1011250 - Test Circles And Lines HTML Bot