Public
Edited
Nov 17, 2024
Insert cell
Insert cell
Insert cell
original = FileAttachment("blue-hour-paris.png").image()
Insert cell
Insert cell
shuffled = {
while (true) yield Promises.delay(1000, shuffleImageColumns(original));
}
Insert cell
Insert cell
reconstructed = reorderImageColumns(shuffled, tour)
Insert cell
Insert cell
Insert cell
tsp = generateTSPLibConfig(shuffled)
Insert cell
tour = await runLKH(
"PROBLEM_FILE = /input.tsp\nOUTPUT_TOUR_FILE = /output.tour\nRUNS = 5",
"/input.tsp",
tsp,
"/output.tour"
)
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more