Download Jar. Uses 616K of libraries. Click here for Pure Java version (14253L/102K).
1 | !7 |
2 | |
3 | sS switcheroo = [[CirclesAndLines(circles=[Circle(text="I", x=d("0.3126801152737752"), y=d("0.4410058027079304")), Circle(text="You", x=d("0.7204610951008645"), y=d("0.4410058027079304"))], imgZoom=d("1.0"), lines=[Arrow(a=t5, b=t26, color=j "java.awt.Color[r=255,g=255,b=255]", text="swap with")])]]; |
4 | |
5 | sS fix = [[CirclesAndLines(circles=[Circle(text="I", x=d("0.3025936599423631"), y=d("0.44874274661508706")), Circle(text="X", x=d("0.4452449567723343"), y=d("0.15087040618955513")), Circle(text="I", x=d("0.6210374639769453"), y=d("0.44294003868471954"))], imgZoom=d("1.0"), lines=[Arrow(a=t5, b=t47, color=j "java.awt.Color[r=255,g=255,b=255]", text="replace with"), Arrow(a=t5, b=t26, color=t91, text="are a"), Arrow(a=t47, b=t26, color=j "java.awt.Color[r=255,g=255,b=255]", text="am a")], translate=Pt(x=40, y=79))]]; |
6 | |
7 | p { |
8 | for (Web web : websFromCEContaining("you")) { |
9 | web_performSwap(webFromCALStructure(switcheroo), web); |
10 | web_performReplaceX(webFromCALStructure(fix), web); |
11 | printAndShowWeb(web); |
12 | } |
13 | } |
Began life as a copy of #1010001
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: | #1010014 |
Snippet name: | Find drawing containing a circle called "you", do switcheroo (swap with "I"), fix "I are" to "I am" [OK] |
Eternal ID of this version: | #1010014/2 |
Text MD5: | 27a18aa86c2af9a5db6a25e16f9f263f |
Transpilation MD5: | 3a3fef0a748d9ab638d2cbeab92f93f5 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-28 22:18:00 |
Source code size: | 1039 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 487 / 1154 |
Version history: | 1 change(s) |
Referenced in: | [show references] |