!7 sS background = #1009946; static JDesktopPane desktop; static ShadowJLabel lblInput; static JLabel lblSpoiler; static Canvas canvas; sbool auto = true; p { autoRestart(); nimbus(); gac36k(); // preload desktop = jTiledBackgroundDesktopPane(background); autoFixDesktopPane(desktop); cleanExitOnFrameClose(showMaximizedFrame(desktop)); lblInput = centerLabel(swingNu(ShadowJLabel)); lblInput.setForeground(Color.yellow); lblInput.setRightShadow(2, 3, Color.gray); setInternalFrameY(40, showCenteredInternalFrame(desktop, "Question", desktop.getWidth()-100, 150, jBackground(Color.black, withBottomMargin(4, centerAndSouth( jbold(setFont(#1011146, 35, lblInput)), westAndEast( withLeftMargin(10, setBoldFontSize(20, setForeground(Color.gray, lblSpoiler = jlabel()))), withRightMargin(10, jbutton("Next", f next)))))))); setInternalFrameY(internalFrameY2(getInternalFrame(lblInput))+40, showCenteredInternalFrame(desktop, "Analysis", 600, 400, canvas = jcanvas())); next(); awtEvery(lblInput, 5000, r { if (auto) next() }); //hideConsole(); } static new SingleThread trigger; svoid next() { trigger.go(r { S s; setText(lblInput, s = random_gac36k()); setText(lblSpoiler, floatToYesNo(gac36k().get(s))); analyze(); andy(s); }); } svoid analyze { S input = getTextTrim(lblInput); Triple triple = ai_tripelize(input); Web web = webFromTriple(triple, 0.3, 0.2, 0.7, 0.7); canvas = webToCanvas(web, canvas); }