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

11
LINES

< > BotCompany Repo | #1011250 // Test Circles And Lines HTML Bot

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

Download Jar. Libraryless. Click here for Pure Java version (9436L/68K).

!7

html {
  new CirclesAndLines cal;
  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 call(getMainBot(), "serveByteArray", toPNG(img), "image/png");
  ret call(getMainBot(), 'serveByteArray, toJPG(img), "image/jpeg");
}

Author comment

Began life as a copy of #1007546

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: #1011250
Snippet name: Test Circles And Lines HTML Bot
Eternal ID of this version: #1011250/1
Text MD5: 65871ffdba02d1c726c48c89f9b775d1
Transpilation MD5: 8eb9299f7b6f3a71a2c6f8c7202a8fb9
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:37:02
Source code size: 365 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 414 / 892
Referenced in: [show references]