«Views with sounds from somewhere in the world» by prko

on 05 Sep'20 03:47 in

inspired by the web site "https://www.window-swap.com/window"

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(
var addr, nCol, nRow, scrW, scrH, view, aRow, rows, views;

addr = "https://www.window-swap.com/window";
nCol = 3;
nRow = 4;
scrW = Window.screenBounds.width;
scrH = Window.screenBounds.height;

view = { WebView().url_(addr) };
aRow = { view ! nCol };
rows = aRow ! nRow;

views = Window(bounds:Window.screenBounds.width@Window.screenBounds.height);
views.layout = VLayout(*rows.collect { |x| HLayout(*x) });
views.front;
)
raw 441 chars (focus & ctrl+a+c to copy)
reception
comments