diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 8c350f4c..8cfcf51e 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -9,8 +9,8 @@ android { applicationId = "tv.orbit.classic" minSdk = 26 targetSdk = 36 - versionCode = 291 - versionName = "0.110.8-arcade1" + versionCode = 292 + versionName = "0.110.9-combined" } buildFeatures { compose = true } // The finished build for the TVs (Paul, 6 November 2026: the test build stuttered on the box). Not debuggable, so diff --git a/android/app/src/main/java/tv/orbit/classic/EmbyConnectionScreen.kt b/android/app/src/main/java/tv/orbit/classic/EmbyConnectionScreen.kt index e1e9ac34..2f12f321 100644 --- a/android/app/src/main/java/tv/orbit/classic/EmbyConnectionScreen.kt +++ b/android/app/src/main/java/tv/orbit/classic/EmbyConnectionScreen.kt @@ -91,6 +91,8 @@ private class ConnectionUi(savedTicket: Long) { var programmeReminder by mutableStateOf(null) var windingDown by mutableStateOf(false) var catchUpOpen by mutableStateOf(null) + /** Orbi-Fax open: true when it came from the TV (Back goes back to watching), false from the guide. */ + var orbiFaxFromTv by mutableStateOf(null) var driveInVisits by mutableIntStateOf((System.currentTimeMillis() / 60_000 % DRIVE_IN_SCENES).toInt()) var guideCategory by mutableStateOf(ChannelCategory.All) var scheduledChannels by mutableStateOf>(emptyMap()) @@ -155,6 +157,7 @@ internal fun EmbyConnectionScreen(modifier: Modifier = Modifier, visible: Boolea var programmeReminder by ui::programmeReminder var windingDown by ui::windingDown var catchUpOpen by ui::catchUpOpen + var orbiFaxFromTv by ui::orbiFaxFromTv // Each visit opens on the next of the three scenes. var driveInVisits by ui::driveInVisits var guideCategory by ui::guideCategory @@ -778,6 +781,9 @@ internal fun EmbyConnectionScreen(modifier: Modifier = Modifier, visible: Boolea return } if ((mainGuide || mainHome || mainWhatsOn || mainCatchUp) && liveSession != null && liveChannel != null) { + orbiFaxFromTv?.let { fromTv -> OrbiFaxScreen({ shows, pause -> orbiFaxData(availableChannels, scheduledChannels.mapValues { it.value.plan }, driveInPlan, + { session?.let { scheduleStore.loadArrivals(it.accountId).first }.orEmpty() }, orbiFaxRecords(OrbitSettings(appContext)), Profiles.current, System.currentTimeMillis(), shows = shows, pause = pause) }, + onClose = { orbiFaxFromTv = null; watchingChannel = fromTv }); return } if (watchingChannel) ScheduledChannelPlayer(liveSession, liveChannel, channelClockOffset, intro = remember { CurtainIntro.takeIf { IntroTrial.take() } }, neighbours = availableChannels.map { it.number }.let { numbers -> listOf(1, -1).map { channelAfter(numbers, selectedNumber, it) } } @@ -792,6 +798,7 @@ internal fun EmbyConnectionScreen(modifier: Modifier = Modifier, visible: Boolea if (previous != null && availableChannels.any { it.number == previous }) { lastNumber = selectedNumber; selectedNumber = previous; channelClockOffset = 0 } }, onNumber = { number -> + if (number == ORBI_FAX_CHANNEL) { orbiFaxFromTv = true; return@ScheduledChannelPlayer true } val exists = availableChannels.any { it.number == number } if (exists && number != selectedNumber) { lastNumber = selectedNumber; selectedNumber = number; channelClockOffset = 0 } exists @@ -821,7 +828,7 @@ internal fun EmbyConnectionScreen(modifier: Modifier = Modifier, visible: Boolea onRemind = { item -> saveReminders(liveReminders(reminders, System.currentTimeMillis()) + ProgrammeReminder(item.channel, item.startMs, item.title)) if (item.driveIn == null) Taste.record(TasteKind.Saved, item.entry.media.item.id, item.entry.seriesId, item.entry.media.item.title, item.channel, "reminder") }) else -> GuideGrid(channelsIn(guideCategory, availableChannels).ifEmpty { availableChannels }, selectedNumber, modifier, guideCategory, homeCategories(availableChannels.map { it.number }), picture, - onCategory = { guideCategory = it }, onWatch = ::tune, onBack = { guideCategory = ChannelCategory.All; onHome() }, onCatchUp = { catchUpOpen = it }, + onCategory = { guideCategory = it }, onWatch = ::tune, onText = { orbiFaxFromTv = false }, onBack = { guideCategory = ChannelCategory.All; onHome() }, onCatchUp = { catchUpOpen = it }, onPicture = { tune(selectedNumber, 0) }, onRest = { rested -> scope.launch { TuneAhead.warm(liveSession, rested) } }, reminders = reminders, onRemind = { number, startMs, title, on -> val kept = liveReminders(reminders, System.currentTimeMillis()).filterNot { it.channel == number && it.startMs == startMs } diff --git a/android/app/src/main/java/tv/orbit/classic/GuideGrid.kt b/android/app/src/main/java/tv/orbit/classic/GuideGrid.kt index f07f345c..9f8f3631 100644 --- a/android/app/src/main/java/tv/orbit/classic/GuideGrid.kt +++ b/android/app/src/main/java/tv/orbit/classic/GuideGrid.kt @@ -97,6 +97,18 @@ private fun CategoryChip(category: ChannelCategory, current: Boolean, grid: Focu } } +/** The guide's Text entry, styled as the categories are: Orbi-Fax opens on page 100. */ +@Composable +private fun TextChip(grid: FocusRequester, onClick: () -> Unit) { + var focused by remember { mutableStateOf(false) } + val shape = androidx.compose.foundation.shape.RoundedCornerShape(12.dp) + Box(Modifier.focusProperties { down = grid }.onFocusChanged { focused = it.isFocused } + .background(if (focused) Yellow else Panel, shape).then(if (focused) Modifier.border(2.dp, Ink, shape) else Modifier) + .clickable(onClick = onClick).padding(horizontal = 12.dp, vertical = 4.dp)) { + Text("Text", color = if (focused) OnAccent else Ink, fontSize = 12.sp, fontWeight = FontWeight.SemiBold, maxLines = 1) + } +} + /** The first row to draw. It moves a row before the edge, so there's always a sign of the next channel. */ internal fun guideFirstRow(row: Int, first: Int, visible: Int, count: Int): Int { val last = (count - visible).coerceAtLeast(0) @@ -129,7 +141,9 @@ internal fun GuideGrid(channels: List, selectedNumber: Int, modif /** Reminders set, so a later programme shows it has one. */ reminders: List = emptyList(), /** OK on a later programme: set its reminder, or take it off again (Paul, 8 November 2026). */ - onRemind: (channel: Int, startMs: Long, title: String, on: Boolean) -> Unit = { _, _, _, _ -> }) { + onRemind: (channel: Int, startMs: Long, title: String, on: Boolean) -> Unit = { _, _, _, _ -> }, + /** The Text entry: opens Orbi-Fax, Orbit's teletext (Paul, 8 November 2026). None, no entry. */ + onText: (() -> Unit)? = null) { val title = category.label // Moves on as the minute turns: nothing here shows seconds. val now by rememberMinuteClock() @@ -174,6 +188,7 @@ internal fun GuideGrid(channels: List, selectedNumber: Int, modif // The categories along the top, as Home lists them: the current one gold, the focused one ringed. Row(horizontalArrangement = Arrangement.spacedBy(5.dp)) { categories.forEach { option -> CategoryChip(option, option == category, gridFocus) { onCategory(option) } } + if (onText != null) TextChip(gridFocus, onText) } Row(Modifier.fillMaxWidth().height(118.dp).background(Deep, androidx.compose.foundation.shape.RoundedCornerShape(6.dp)).padding(8.dp), horizontalArrangement = Arrangement.spacedBy(14.dp)) { val branding = ChannelBrands.forNumber(channel.number) diff --git a/android/app/src/main/java/tv/orbit/classic/OrbiFaxArt.kt b/android/app/src/main/java/tv/orbit/classic/OrbiFaxArt.kt new file mode 100644 index 00000000..8dc1cd63 --- /dev/null +++ b/android/app/src/main/java/tv/orbit/classic/OrbiFaxArt.kt @@ -0,0 +1,35 @@ +package tv.orbit.classic + +// Generated by design/orbi-fax/export-kotlin-art.py from the Orbi-Fax concept (8 November 2026). Don't edit by hand. + +/** The dot-matrix glyphs for ASCII 32 to 126: nine rows of five dots each, one base-32 digit a row (bit 4 is the left dot). */ +internal const val ORBI_FAX_GLYPHS = + "000000000444440400AA0000000AAVAVAA00000000000OP248J3008KK8LID0044800000024888420084222480004LEL4000044V44000000004480000E0000000000040001248G000EHJLPHE004C4444E00EH168GV00V1261HE0026AIV2200VGU11HE0068GUHHE00V12488800EHHEHHE00EHHF12C00040004000000000000248G8420000V0V0000842124800EH2440400000000000EHHVHHH00UHHUHHU00EHGGGHE00UHHHHHU00VGGUGGV00VGGUGGG00EHGNHHE00HHHVHHH00E44444E0072222IC00HIKOKIH00GGGGGGV00HRLLHHH00HHPLJHH00EHHHHHE00UHHUGGG00EHHHLID00UHHUKIH00EHGE1HE00V44444400HHHHHHE00HHHHHA400HHHLLLA00HHA4AHH00HHA444400V1248GV00000000000000000000000000000000000000000000V0000000000000E1FHF00GGUHHHU0000FGGGF0011FHHHF0000EHVGE00698S8880000FHHHF1EGGUHHHH0040C444E002062222IC889ACA900C44444E0000QLLLL0000UHHHH0000EHHHE0000UHHHUGG00FHHHF1100MPGGG0000FGE1U0088S88960000HHHHF0000HHAA40000HHLLA0000HA4AH0000HHHHF1E00V248V00000000000000000000000000000000000000" + +/** Orbit's mark as 2x3 mosaics, 13 x 4 cells: per cell a colour digit (teletext order) then the six sixel bits in hex. */ +internal val ORBI_FAX_MARK = arrayOf( + "00000000000033033c30c33c33000072073871c", + "00000000033a30700072073071c70e32c310000", + "00000072030b71c70f70300000033031e301000", + "73871e70770130230b30d30e307301000000000") + +/** The P999 wizard, original to Orbit, 18 x 18 cells in the same form. */ +internal val ORBI_FAX_WIZARD = arrayOf( + "00000000062063400000000000000000000042041e403000620000", + "00000000000060100000000000000042043c40700000000060b601", + "00033000000000000000000042043e33f43f43d410000000000000", + "32e33f31d00000000042043843f43f43f43f43f43d410000000000", + "00030300000000043843f33f43f43f43f43f43f43f43d410000000", + "00013f00033c33c33c33c33c33c33c33c33c33c33c33c33c314000", + "00013f00030330330330373873c73e73c73c730303303303301000", + "00013f00000000000073f73f73e73f73f73e73f715000000000000", + "00013f00000070a73f73f73770f70f70f72773f73f71f000000000", + "00013f00000000072b73f73f73f73f73f73f73f73f70162e604000", + "00013f73f43f43f43f43f73f73f73f73f73f73f43a410000000000", + "00013f73f43f43f43f43f73f73f73f73f73f71743f43d000000000", + "00013f00000043e43f43f43573f73f73f71f43f43f43f414000000", + "00013f00042843f43f43f43f72b73f73f43e43f43f43f43d60861d", + "00013f00043f43f43f43f43f43f73f71543f43f43f43f43f415000", + "00013f42a43f43f43f43f43f43f43f43f43f43f43f43f43f43f000", + "00013f43f43f43f41f40f40f43f43f43f41f40f40f43f43f43f435", + "00013f43f43f43f52a53f53f43f43f43f52a53f53f43f43f43f43f") diff --git a/android/app/src/main/java/tv/orbit/classic/OrbiFaxNav.kt b/android/app/src/main/java/tv/orbit/classic/OrbiFaxNav.kt new file mode 100644 index 00000000..888778d5 --- /dev/null +++ b/android/app/src/main/java/tv/orbit/classic/OrbiFaxNav.kt @@ -0,0 +1,96 @@ +package tv.orbit.classic + +/** Orbi-Fax opens from channel 000 (Paul, 8 November 2026). */ +internal const val ORBI_FAX_CHANNEL = 0 +internal const val ORBI_FAX_INDEX = 100 +internal const val ORBI_FAX_WIZARD_PAGE = 999 +/** The Fastext row's three page links (red, green, yellow); the fourth place (cyan) is "Go to page". */ +internal const val ORBI_FAX_LINKS = 3 +/** In a page's choices, the "Go to page" link that opens the digit picker. */ +internal const val ORBI_FAX_GO_TO = -1 + +internal enum class OrbiFaxKey { Up, Down, Left, Right, Ok, Back, Red, Green, Yellow, Cyan, PageUp, PageDown } + +/** What navigation needs to know about the pages: their order, their sub-pages and the links on each. */ +internal interface OrbiFaxBook { + /** The pages Left and Right turn through, in order. 999 is never among them: it has to be keyed. */ + val pages: IntArray + fun subPages(page: Int): Int + /** Where Fastext link [index] (0 red, 1 green, 2 yellow) goes from [page]. */ + fun link(page: Int, index: Int): Int + /** Everything Up and Down move between on [page], top to bottom: page numbers, ending with [ORBI_FAX_GO_TO]. */ + fun choices(page: Int): IntArray +} + +/** + * Where the viewer is (simpler controls, Paul, 8 November 2026: "a lil confused with controls"). + * Up/Down move [focus] between the page's links and OK goes there; Left/Right turn sub-pages, then pages; "Go to page" + * (or the cyan key, or the number keys) keys a page; Back always returns to the TV or the guide. + * [typed] holds number-key digits so far, [picker] the digit picker while it's open. + */ +internal data class OrbiFaxNav(val page: Int = ORBI_FAX_INDEX, val sub: Int = 0, val focus: Int = 0, val typed: String = "", + val picker: ChannelEntry? = null) { + + fun go(number: Int) = OrbiFaxNav(page = if (number in 100..999) number else ORBI_FAX_INDEX) + + /** One digit from the number keys (or into the open picker): the third goes to the page. */ + fun digit(d: Int): OrbiFaxNav { + picker?.let { p -> val next = p.type(d); return if (p.onLastSlot) go(next.number) else copy(picker = next) } + val now = typed + digitText(d) + return if (now.length == 3) go(now.toInt()) else copy(typed = now) + } + + /** A key; null means Back with nothing left to close, so Orbi-Fax hands back to the TV or the guide. */ + fun press(key: OrbiFaxKey, book: OrbiFaxBook): OrbiFaxNav? { + picker?.let { p -> + return when (key) { + OrbiFaxKey.Up -> copy(picker = p.dial(1)) + OrbiFaxKey.Down -> copy(picker = p.dial(-1)) + OrbiFaxKey.Left -> copy(picker = p.previous()) + OrbiFaxKey.Right -> copy(picker = p.next()) + OrbiFaxKey.Ok -> go(p.number) + OrbiFaxKey.Back -> copy(picker = null) + else -> copy(picker = null).press(key, book) + } + } + val choices = book.choices(page) + val at = focus.coerceIn(0, (choices.size - 1).coerceAtLeast(0)) + return when (key) { + OrbiFaxKey.Back -> if (typed.isNotEmpty()) copy(typed = "") else null + OrbiFaxKey.Up -> copy(focus = (at - 1).coerceAtLeast(0), typed = "") + OrbiFaxKey.Down -> copy(focus = (at + 1).coerceAtMost((choices.size - 1).coerceAtLeast(0)), typed = "") + OrbiFaxKey.Ok -> choices.getOrNull(at)?.let { open(it) } ?: this + OrbiFaxKey.Right -> turn(book, 1) + OrbiFaxKey.Left -> turn(book, -1) + OrbiFaxKey.PageUp -> go(step(book.pages, 1)) + OrbiFaxKey.PageDown -> go(step(book.pages, -1)) + OrbiFaxKey.Red -> go(book.link(page, 0)) + OrbiFaxKey.Green -> go(book.link(page, 1)) + OrbiFaxKey.Yellow -> go(book.link(page, 2)) + OrbiFaxKey.Cyan -> open(ORBI_FAX_GO_TO) + } + } + + private fun open(choice: Int) = if (choice == ORBI_FAX_GO_TO) copy(picker = ChannelEntry.from(page), typed = "") else go(choice) + + /** Left/Right: the next or previous sub-page while there are some, then the next or previous page. */ + private fun turn(book: OrbiFaxBook, direction: Int): OrbiFaxNav { + val next = sub + direction + if (book.subPages(page) > 1 && next in 0 until book.subPages(page)) return copy(sub = next, typed = "") + val target = go(step(book.pages, direction)) + return if (direction < 0) target.copy(sub = book.subPages(target.page) - 1) else target + } + + /** The carousel's turn to the next sub-page (never while a number is being keyed). */ + fun carousel(book: OrbiFaxBook): OrbiFaxNav { + val count = book.subPages(page) + return if (count <= 1 || typed.isNotEmpty() || picker != null) this else copy(sub = (sub + 1) % count) + } + + /** The next or previous page in [pages]; from a page that isn't among them, the nearest one in that direction. */ + private fun step(pages: IntArray, direction: Int): Int { + if (pages.isEmpty()) return ORBI_FAX_INDEX + return if (direction > 0) pages.firstOrNull { it > page } ?: pages.first() + else pages.lastOrNull { it < page } ?: pages.last() + } +} diff --git a/android/app/src/main/java/tv/orbit/classic/OrbiFaxPage.kt b/android/app/src/main/java/tv/orbit/classic/OrbiFaxPage.kt new file mode 100644 index 00000000..139582a9 --- /dev/null +++ b/android/app/src/main/java/tv/orbit/classic/OrbiFaxPage.kt @@ -0,0 +1,190 @@ +package tv.orbit.classic + +import java.text.Normalizer + +/** + * Orbi-Fax Stage 1 (approved by Paul on 8 November 2026): Orbit's own teletext, entirely offline. + * A page is the authentic 40 x 25 grid of character cells in the eight teletext colours, with 2x3 mosaics and double height. + * Every array is fixed in size and reused: building and drawing a page allocates nothing. + */ +internal object Teletext { + const val COLS = 40 + const val ROWS = 25 + const val CELLS = COLS * ROWS + /** Each cell is a 6 x 10 dot matrix, so the whole page is 240 x 250 dots, drawn scaled to a 4:3 area. */ + const val CELL_W = 6 + const val CELL_H = 10 + const val WIDTH = COLS * CELL_W + const val HEIGHT = ROWS * CELL_H + const val BLACK = 0; const val RED = 1; const val GREEN = 2; const val YELLOW = 3 + const val BLUE = 4; const val MAGENTA = 5; const val CYAN = 6; const val WHITE = 7 + /** Teletext order, ARGB. Nothing else is ever drawn inside the page. */ + val PALETTE = intArrayOf(0xFF000000.toInt(), 0xFFFF0000.toInt(), 0xFF00FF00.toInt(), 0xFFFFFF00.toInt(), + 0xFF0000FF.toInt(), 0xFFFF00FF.toInt(), 0xFF00FFFF.toInt(), 0xFFFFFFFF.toInt()) +} + +/** Text as the glyph set can show it: accents dropped, curly quotes and dashes made plain, anything else a space. */ +internal fun teletextText(text: String): String { + val plain = Normalizer.normalize(text, Normalizer.Form.NFD).replace(Regex("\\p{M}+"), "") + val out = StringBuilder(plain.length) + for (ch in plain) out.append(when (ch) { + '‘', '’', 'ʼ' -> '\'' + '“', '”' -> '"' + '–', '—', '−' -> '-' + '…' -> '.' + ' ', '\t', '\n' -> ' ' + else -> if (ch.code in 32..126) ch else ' ' + }) + return out.toString() +} + +internal class TeletextPage { + val chars = CharArray(Teletext.CELLS) + val fg = ByteArray(Teletext.CELLS) + val bg = ByteArray(Teletext.CELLS) + val mosaic = ByteArray(Teletext.CELLS) + val flags = ByteArray(Teletext.CELLS) + + companion object { + const val MOSAIC = 1 + const val DOUBLE = 2 + /** The lower half of a double-height cell above: drawn by that cell, so this one shows only its background. */ + const val LOWER = 4 + } + + init { clear() } + + fun clear() { + chars.fill(' '); fg.fill(Teletext.WHITE.toByte()); bg.fill(Teletext.BLACK.toByte()); mosaic.fill(0); flags.fill(0) + } + + /** Clears one row only, as the header does each second. */ + fun clearRow(row: Int) { + val from = row * Teletext.COLS; val to = from + Teletext.COLS + chars.fill(' ', from, to); fg.fill(Teletext.WHITE.toByte(), from, to); bg.fill(Teletext.BLACK.toByte(), from, to) + mosaic.fill(0, from, to); flags.fill(0, from, to) + } + + /** + * Writes [text] from [col], clipped at the row's end. [background] of -1 keeps what's there. Double height covers the + * row below too. Returns the column after the text. + */ + fun put(row: Int, col: Int, text: CharSequence, colour: Int = Teletext.WHITE, background: Int = -1, double: Boolean = false): Int { + if (row !in 0 until Teletext.ROWS) return col + for (i in text.indices) { + val c = col + i + if (c !in 0 until Teletext.COLS) continue + val at = row * Teletext.COLS + c + val ch = text[i] + chars[at] = if (ch.code in 32..126) ch else ' ' + fg[at] = colour.toByte() + if (background >= 0) bg[at] = background.toByte() + flags[at] = if (double) DOUBLE.toByte() else 0 + if (double && row + 1 < Teletext.ROWS) { + val below = at + Teletext.COLS + chars[below] = ' '; flags[below] = LOWER.toByte() + if (background >= 0) bg[below] = background.toByte() + } + } + return col + text.length + } + + /** Writes a number right-aligned so its last digit sits in [lastCol], with no string made. */ + fun putNumber(row: Int, lastCol: Int, value: Int, colour: Int = Teletext.WHITE) { + var v = if (value < 0) 0 else value; var c = lastCol + do { if (c >= 0) put(row, c, digitText(v % 10), colour); v /= 10; c-- } while (v > 0) + } + + fun fill(row: Int, fromCol: Int, toCol: Int, background: Int) { + if (row !in 0 until Teletext.ROWS) return + for (c in fromCol.coerceAtLeast(0) until toCol.coerceAtMost(Teletext.COLS)) bg[row * Teletext.COLS + c] = background.toByte() + } + + /** A 2x3 mosaic cell: bit 0 top left, 1 top right, 2 middle left, 3 middle right, 4 bottom left, 5 bottom right. */ + fun mosaic(row: Int, col: Int, bits: Int, colour: Int) { + if (row !in 0 until Teletext.ROWS || col !in 0 until Teletext.COLS) return + val at = row * Teletext.COLS + col + chars[at] = ' '; fg[at] = colour.toByte(); mosaic[at] = (bits and 63).toByte(); flags[at] = MOSAIC.toByte() + } + + /** A line of mosaics, by default the bottom third of each cell. */ + fun rule(row: Int, colour: Int, fromCol: Int = 0, toCol: Int = Teletext.COLS, bits: Int = 0b110000) { + for (c in fromCol until toCol) mosaic(row, c, bits, colour) + } + + /** Mosaic artwork in [ORBI_FAX_MARK]'s form: three characters a cell (colour digit, then the bits in hex). */ + fun art(row: Int, col: Int, rows: Array) { + for (r in rows.indices) { + val line = rows[r] + var c = 0 + while (c * 3 + 2 < line.length) { + val bits = Character.digit(line[c * 3 + 1], 16) * 16 + Character.digit(line[c * 3 + 2], 16) + if (bits != 0) mosaic(row + r, col + c, bits, line[c * 3] - '0') + c++ + } + } + } + + /** One row as plain text, mosaics shown as '#'. For tests and logs. */ + fun rowText(row: Int): String = buildString { + for (c in 0 until Teletext.COLS) { + val at = row * Teletext.COLS + c + append(if (flags[at].toInt() and MOSAIC != 0) '#' else chars[at]) + } + } +} + +private val Digits = Array(10) { it.toString() } +internal fun digitText(d: Int) = Digits[d] + +/** Draws a page into a 240 x 250 ARGB buffer: backgrounds first, then every glyph and mosaic. Allocates nothing. */ +internal object TeletextRenderer { + private val glyphs: ByteArray = ByteArray(95 * 9).also { out -> + for (i in out.indices) out[i] = Character.digit(ORBI_FAX_GLYPHS[i], 32).toByte() + } + private val bandTop = intArrayOf(0, 3, 7) + private val bandHeight = intArrayOf(3, 4, 3) + + fun glyphRow(ch: Char, row: Int): Int { + val code = ch.code - 32 + return if (code in 0 until 95 && row in 0 until 9) glyphs[code * 9 + row].toInt() else 0 + } + + /** Draws rows [fromRow] to [toRow] (inclusive): the whole page, or only the header as the clock ticks. */ + fun render(page: TeletextPage, out: IntArray, fromRow: Int = 0, toRow: Int = Teletext.ROWS - 1) { + require(out.size == Teletext.WIDTH * Teletext.HEIGHT) + val w = Teletext.WIDTH + val first = fromRow * Teletext.COLS; val last = (toRow + 1) * Teletext.COLS + for (cell in first until last) { + val x0 = (cell % Teletext.COLS) * Teletext.CELL_W; val y0 = (cell / Teletext.COLS) * Teletext.CELL_H + val colour = Teletext.PALETTE[page.bg[cell].toInt()] + for (y in y0 until y0 + Teletext.CELL_H) out.fill(colour, y * w + x0, y * w + x0 + Teletext.CELL_W) + } + for (cell in first until last) { + val flag = page.flags[cell].toInt() + if (flag and TeletextPage.LOWER != 0) continue + val x0 = (cell % Teletext.COLS) * Teletext.CELL_W; val y0 = (cell / Teletext.COLS) * Teletext.CELL_H + val colour = Teletext.PALETTE[page.fg[cell].toInt()] + if (flag and TeletextPage.MOSAIC != 0) { + val bits = page.mosaic[cell].toInt() + for (band in 0 until 3) for (half in 0 until 2) if (bits shr (band * 2 + half) and 1 != 0) { + val left = x0 + half * 3 + for (y in y0 + bandTop[band] until y0 + bandTop[band] + bandHeight[band]) out.fill(colour, y * w + left, y * w + left + 3) + } + continue + } + val ch = page.chars[cell] + if (ch == ' ') continue + val scale = if (flag and TeletextPage.DOUBLE != 0) 2 else 1 + for (gy in 0 until 9) { + val bits = glyphRow(ch, gy) + if (bits == 0) continue + for (s in 0 until scale) { + val y = y0 + (gy + 1) * scale + s + if (y >= Teletext.HEIGHT || y >= (toRow + 1) * Teletext.CELL_H) continue + for (gx in 0 until 5) if (bits shr (4 - gx) and 1 != 0) out[y * w + x0 + gx] = colour + } + } + } + } +} diff --git a/android/app/src/main/java/tv/orbit/classic/OrbiFaxPages.kt b/android/app/src/main/java/tv/orbit/classic/OrbiFaxPages.kt new file mode 100644 index 00000000..765e6d6f --- /dev/null +++ b/android/app/src/main/java/tv/orbit/classic/OrbiFaxPages.kt @@ -0,0 +1,306 @@ +package tv.orbit.classic + +import java.time.Instant +import java.time.ZoneId +import java.time.format.DateTimeFormatter +import java.util.Locale +import tv.orbit.classic.Teletext.BLACK +import tv.orbit.classic.Teletext.BLUE +import tv.orbit.classic.Teletext.CYAN +import tv.orbit.classic.Teletext.GREEN +import tv.orbit.classic.Teletext.MAGENTA +import tv.orbit.classic.Teletext.RED +import tv.orbit.classic.Teletext.WHITE +import tv.orbit.classic.Teletext.YELLOW + +internal data class OrbiFaxShow(val startMs: Long, val title: String) +internal data class OrbiFaxChannel(val number: Int, val name: String, val shows: List) +internal data class OrbiFaxHighlight(val channelName: String, val startMs: Long, val title: String, val tag: String) +internal data class OrbiFaxBill(val label: String, val whenText: String, val titles: List) +internal data class OrbiFaxArrival(val title: String, val type: String) +internal data class OrbiFaxRecord(val game: String, val colour: Int, val best: String?) + +/** + * Everything the pages show, read once from Orbit's own records (nothing from the network). A null list is a page the + * profile isn't allowed; an empty one is a page with nothing on it yet. Text is already in the glyph set. + */ +internal data class OrbiFaxData(val channels: List, val highlights: List, val driveIn: List?, + val arrivals: List?, val records: List?, val kids: Boolean) + +internal const val ORBI_FAX_NOW_NEXT = 500 +internal const val ORBI_FAX_LISTINGS = 501 +internal const val ORBI_FAX_HIGHLIGHTS = 510 +internal const val ORBI_FAX_DRIVE_IN = 520 +internal const val ORBI_FAX_ARRIVALS = 600 +internal const val ORBI_FAX_ARCADE = 700 +private const val CHANNELS_PER_SUB = 6 +private const val HIGHLIGHTS_PER_SUB = 5 +private const val ARRIVALS_PER_SUB = 16 +private const val LISTING_ROWS = 17 + +/** The warning on 999, exactly as established. */ +internal const val ORBI_FAX_WARNING = "You have gone too far, young traveller. Return at once!" +private val WarningLines = arrayOf("You have gone", "too far, young", "traveller.", "Return at once!") + +/** The pages that will come later: shown greyed on the index and as their own "coming later" page. */ +internal val OrbiFaxLater = linkedMapOf(101 to "News", 300 to "Sport", 400 to "Weather", 800 to "House and Rooms") + +private val LinkLabels = mapOf(100 to "Index", 500 to "On Now", 501 to "Listing", 510 to "Tonight", 520 to "Drive-In", 600 to "Library", 700 to "Arcade") + +internal class OrbiFaxPages(val data: OrbiFaxData) : OrbiFaxBook { + /** Whether this profile may see [page]. Kids never sees the library page, and the Drive-In and Arcade only when allowed. */ + fun allowed(page: Int) = when (page) { + ORBI_FAX_DRIVE_IN -> data.driveIn != null + ORBI_FAX_ARRIVALS -> data.arrivals != null + ORBI_FAX_ARCADE -> data.records != null + else -> true + } + + override val pages: IntArray = intArrayOf(ORBI_FAX_INDEX, ORBI_FAX_NOW_NEXT, ORBI_FAX_LISTINGS, ORBI_FAX_HIGHLIGHTS, ORBI_FAX_DRIVE_IN, ORBI_FAX_ARRIVALS, ORBI_FAX_ARCADE) + .filter(::allowed).toIntArray() + + override fun subPages(page: Int) = when (page) { + ORBI_FAX_NOW_NEXT -> chunks(data.channels.size, CHANNELS_PER_SUB) + ORBI_FAX_LISTINGS -> data.channels.size.coerceAtLeast(1) + ORBI_FAX_HIGHLIGHTS -> chunks(data.highlights.size, HIGHLIGHTS_PER_SUB) + ORBI_FAX_ARRIVALS -> chunks(data.arrivals?.size ?: 0, ARRIVALS_PER_SUB) + else -> 1 + } + + private val linkCache = HashMap() + private fun links(page: Int) = linkCache.getOrPut(page) { + val wanted = if (page == ORBI_FAX_INDEX) listOf(500, 510, 520, 700, 600, 501) else listOf(100, 500, 510, 700, 520, 600, 501) + wanted.filter { it != page && allowed(it) }.take(ORBI_FAX_LINKS).toIntArray() + } + override fun link(page: Int, index: Int) = links(page).getOrElse(index) { ORBI_FAX_INDEX } + + /** The index's sections, in order, for this profile. */ + private val sections = listOf("On Orbit Now" to 500, "Tonight's Highlights" to 510, "The Drive-In" to 520, + "New In Your Library" to 600, "Arcade Records" to 700).filter { allowed(it.second) } + private val choiceCache = HashMap() + override fun choices(page: Int) = choiceCache.getOrPut(page) { + (if (page == ORBI_FAX_INDEX) sections.map { it.second } else emptyList()).toIntArray() + links(page) + ORBI_FAX_GO_TO + } + /** How many of [page]'s choices come before the Fastext row (the index's sections). */ + private fun sectionsOn(page: Int) = if (page == ORBI_FAX_INDEX) sections.size else 0 + + /** Builds [page] into [out], all but the header row, which [header] writes each second. */ + fun build(out: TeletextPage, page: Int, sub: Int, nowMs: Long, zone: ZoneId, reveal: Int = Int.MAX_VALUE, focus: Int = -1) { + out.clear() + val s = sub.coerceIn(0, subPages(page) - 1) + when { + !allowed(page) -> notAllowed(out, page) + page == ORBI_FAX_INDEX -> index(out, focus) + page == ORBI_FAX_NOW_NEXT -> nowNext(out, s, nowMs, zone) + page == ORBI_FAX_LISTINGS -> listings(out, s, nowMs, zone) + page == ORBI_FAX_HIGHLIGHTS -> highlights(out, s, zone) + page == ORBI_FAX_DRIVE_IN -> driveIn(out) + page == ORBI_FAX_ARRIVALS -> arrivals(out, s) + page == ORBI_FAX_ARCADE -> arcade(out) + page == ORBI_FAX_WIZARD_PAGE -> wizard(out, reveal) + else -> missing(out, page) + } + if (subPages(page) > 1) subIndicator(out, s + 1, subPages(page)) + } + + /** Row 0: page number, ORBI-FAX, what's being keyed (or the page), date and clock. */ + fun header(out: TeletextPage, nav: OrbiFaxNav, nowMs: Long, zone: ZoneId) { + out.clearRow(0) + out.put(0, 0, "P"); out.putNumber(0, 3, nav.page) + out.put(0, 5, " ORBI-FAX ", YELLOW, BLUE) + val picker = nav.picker + when { + picker != null -> for (i in 0 until 3) { + val focused = i == picker.slot + out.put(0, 16 + i, digitText(picker.digits[i]), if (focused) BLACK else YELLOW, if (focused) YELLOW else BLACK) + } + nav.typed.isNotEmpty() -> { out.put(0, 16, nav.typed, YELLOW); for (i in nav.typed.length until 3) out.put(0, 16 + i, "-", YELLOW) } + else -> out.putNumber(0, 18, nav.page) + } + val at = Instant.ofEpochMilli(nowMs).atZone(zone) + out.put(0, 21, DateFormat.format(at)) + out.put(0, 32, ClockFormat.format(at), YELLOW) + } + + /** Row 24: three Fastext page links (red, green, yellow) and "Go to page" (cyan), the highlighted one in reverse. */ + fun fastext(out: TeletextPage, nav: OrbiFaxNav) { + out.clearRow(24) + val colours = intArrayOf(RED, GREEN, YELLOW) + val focused = nav.focus.coerceIn(0, choices(nav.page).size - 1) - sectionsOn(nav.page) + for (i in 0 until ORBI_FAX_LINKS) { + val label = LinkLabels[link(nav.page, i)] ?: "Index" + val on = focused == i && nav.picker == null + out.put(24, i * 9 + 1, label, if (on) BLACK else colours[i], if (on) colours[i] else BLACK) + } + val on = focused == ORBI_FAX_LINKS || nav.picker != null + out.put(24, 29, "Go to page", if (on) BLACK else CYAN, if (on) CYAN else BLACK) + } + + private fun title(out: TeletextPage, text: String, colour: Int = YELLOW) = out.put(1, 1, text, colour, double = true) + + private fun subIndicator(out: TeletextPage, at: Int, of: Int) { + val text = "$at/$of" + out.put(1, Teletext.COLS - text.length, text, WHITE) + } + + private fun index(out: TeletextPage, focus: Int) { + for (r in 1..4) out.fill(r, 0, Teletext.COLS, BLUE) + out.art(1, 0, ORBI_FAX_MARK) + out.put(1, 14, "ORBI-FAX", YELLOW, BLUE, double = true) + out.put(3, 14, "Orbit's own pages", WHITE, BLUE) + out.put(4, 14, "Channel 000 opens Orbi-Fax", CYAN, BLUE) + out.rule(5, YELLOW) + sections.forEachIndexed { i, (name, number) -> + val row = 7 + i * 2 + if (i == focus) out.put(row, 1, " $name ", BLACK, YELLOW) else out.put(row, 2, name, YELLOW) + out.put(row, 4 + name.length, ".".repeat((32 - name.length).coerceAtLeast(0)), BLUE) + out.putNumber(row, 38, number) + } + out.rule(19, BLUE) + out.put(20, 2, "Coming later", WHITE) + var col = 2 + OrbiFaxLater.entries.take(3).forEach { (number, name) -> col = out.put(21, col, "$name $number", BLUE) + 3 } + OrbiFaxLater[800]?.let { out.put(22, 2, "$it 800", BLUE) } + } + + private fun nowNext(out: TeletextPage, sub: Int, nowMs: Long, zone: ZoneId) { + title(out, "ON ORBIT NOW") + out.put(3, 1, DateFormat.format(Instant.ofEpochMilli(nowMs).atZone(zone))) + out.put(3, 24, "NOW"); out.put(3, 28, "then"); out.put(3, 33, "NEXT", CYAN) + out.rule(4, YELLOW) + if (data.channels.isEmpty()) { out.put(6, 1, "No channels are on yet.", WHITE); return } + data.channels.drop(sub * CHANNELS_PER_SUB).take(CHANNELS_PER_SUB).forEachIndexed { i, ch -> + val row = 5 + i * 3 + out.fill(row, 0, Teletext.COLS, BLUE) + out.putNumber(row, 3, ch.number); out.put(row, 5, ch.name.take(34), YELLOW, BLUE) + val now = ch.shows.lastOrNull { it.startMs <= nowMs } ?: ch.shows.firstOrNull() + val next = now?.let { n -> ch.shows.firstOrNull { it.startMs > n.startMs } } + now?.let { show(out, row + 1, it, WHITE, zone) } + next?.let { show(out, row + 2, it, CYAN, zone) } + } + out.put(23, 1, "Full listings 501, channel by channel", WHITE) + } + + private fun listings(out: TeletextPage, sub: Int, nowMs: Long, zone: ZoneId) { + title(out, "LISTINGS") + val ch = data.channels.getOrNull(sub) + if (ch == null) { out.rule(4, YELLOW); out.put(6, 1, "No channels are on yet.", WHITE); return } + out.fill(3, 0, Teletext.COLS, BLUE); out.putNumber(3, 3, ch.number); out.put(3, 5, ch.name.take(34), YELLOW, BLUE) + out.rule(4, YELLOW) + val current = ch.shows.lastOrNull { it.startMs <= nowMs } + ch.shows.filter { it.startMs >= (current?.startMs ?: Long.MIN_VALUE) }.take(LISTING_ROWS).forEachIndexed { i, s -> + show(out, 5 + i, s, if (s === current) WHITE else CYAN, zone, timeColour = if (s === current) YELLOW else WHITE) + } + } + + private fun show(out: TeletextPage, row: Int, s: OrbiFaxShow, colour: Int, zone: ZoneId, timeColour: Int = colour) { + out.put(row, 2, TimeFormat.format(Instant.ofEpochMilli(s.startMs).atZone(zone)), timeColour) + out.put(row, 8, s.title.take(31), colour) + } + + private fun highlights(out: TeletextPage, sub: Int, zone: ZoneId) { + title(out, "TONIGHT'S HIGHLIGHTS") + out.put(3, 1, "Picked from Orbit's own schedules", CYAN) + out.rule(4, YELLOW) + if (data.highlights.isEmpty()) { out.put(6, 1, "Nothing picked out yet. Look again", WHITE); out.put(7, 1, "after the noon edition.", WHITE); return } + data.highlights.drop(sub * HIGHLIGHTS_PER_SUB).take(HIGHLIGHTS_PER_SUB).forEachIndexed { i, h -> + val row = 5 + i * 3 + out.put(row, 1, TimeFormat.format(Instant.ofEpochMilli(h.startMs).atZone(zone)), WHITE) + out.put(row, 7, h.channelName.take(32), YELLOW) + out.put(row + 1, 3, h.title.take(36), WHITE) + if (h.tag.isNotEmpty()) out.put(row + 2, 3, h.tag.take(36), CYAN) + } + } + + private fun driveIn(out: TeletextPage) { + title(out, "THE DRIVE-IN") + out.put(3, 1, "Films under the stars", CYAN) + out.rule(4, YELLOW) + val bills = data.driveIn.orEmpty() + if (bills.isEmpty()) { out.put(6, 1, "No shows are booked yet.", WHITE); return } + var row = 5 + for (bill in bills) { + if (row > 21) break + out.put(row, 1, bill.label.take(20), YELLOW) + out.put(row, (Teletext.COLS - bill.whenText.length).coerceAtLeast(22), bill.whenText.take(18), WHITE) + row++ + for (t in bill.titles) { if (row > 22) break; out.put(row, 3, t.take(36), WHITE); row++ } + row++ + } + } + + private fun arrivals(out: TeletextPage, sub: Int) { + title(out, "NEW IN YOUR LIBRARY") + out.put(3, 1, "First seen in the last 14 days", CYAN) + out.rule(4, YELLOW) + val list = data.arrivals.orEmpty() + if (list.isEmpty()) { out.put(6, 1, "Nothing new yet.", WHITE); return } + list.drop(sub * ARRIVALS_PER_SUB).take(ARRIVALS_PER_SUB).forEachIndexed { i, a -> + out.put(5 + i, 1, a.title.take(30), WHITE) + out.put(5 + i, 33, a.type.take(7), CYAN) + } + } + + private fun arcade(out: TeletextPage) { + title(out, "ARCADE RECORDS") + out.put(3, 1, "The best on this TV", CYAN) + out.rule(4, YELLOW) + data.records.orEmpty().forEachIndexed { i, r -> + val row = 5 + i * 2 + out.put(row, 1, r.game.uppercase(Locale.ROOT), r.colour) + val best = r.best ?: "no record yet" + out.put(row, Teletext.COLS - 1 - best.length, best, if (r.best == null) BLUE else WHITE) + } + out.put(23, 1, "Beat a record in the Orbit Arcade", CYAN) + } + + private fun wizard(out: TeletextPage, reveal: Int) { + out.art(2, 1, ORBI_FAX_WIZARD) + out.rule(1, CYAN, 19, Teletext.COLS) + out.rule(12, CYAN, 19, Teletext.COLS, bits = 0b000011) + var left = reveal + WarningLines.forEachIndexed { i, line -> + if (left <= 0) return@forEachIndexed + val shown = if (left >= line.length) line else line.substring(0, left) + out.put(3 + i * 2, 21, shown, if (i == WarningLines.lastIndex) YELLOW else WHITE, double = true) + left -= line.length + } + out.put(14, 21, "This page is past", CYAN); out.put(15, 21, "the edge of", CYAN); out.put(16, 21, "Orbi-Fax.", CYAN) + out.put(18, 21, "Key 100 to fly"); out.put(19, 21, "home to the index.") + out.put(22, 1, "P999 The wizard's corner", MAGENTA) + } + + private fun missing(out: TeletextPage, page: Int) { + title(out, "PAGE $page") + out.rule(4, YELLOW) + val later = OrbiFaxLater[page] + if (later != null) { out.put(6, 1, "$later is coming later to Orbi-Fax.", WHITE) } + else { out.put(6, 1, "There's no page $page in Orbi-Fax.", WHITE) } + out.put(8, 1, "Key 100 for the index.", CYAN) + } + + private fun notAllowed(out: TeletextPage, page: Int) { + title(out, "PAGE $page") + out.rule(4, YELLOW) + out.put(6, 1, "This page isn't on this profile.", WHITE) + out.put(8, 1, "Key 100 for the index.", CYAN) + } + + companion object { + val DateFormat: DateTimeFormatter = DateTimeFormatter.ofPattern("EEE dd MMM", Locale.UK) + val ClockFormat: DateTimeFormatter = DateTimeFormatter.ofPattern("HH:mm:ss", Locale.UK) + val TimeFormat: DateTimeFormatter = DateTimeFormatter.ofPattern("HH:mm", Locale.UK) + private fun chunks(size: Int, per: Int) = ((size + per - 1) / per).coerceAtLeast(1) + /** The Arcade's games, as the Arcade names and colours them, with today's single best per game. */ + fun records(orbMan: Int, snake: Int, blocks: Int, bricks: Int, blast: Int, skySolved: Int, pairs: Int, patienceWins: Int) = listOf( + OrbiFaxRecord("Star Chase", YELLOW, orbMan.takeIf { it > 0 }?.let { "%,d".format(Locale.UK, it) }), + OrbiFaxRecord("Comet Trail", GREEN, snake.takeIf { it > 0 }?.let { "%,d".format(Locale.UK, it) }), + OrbiFaxRecord("Block Drop", CYAN, blocks.takeIf { it > 0 }?.let { "%,d".format(Locale.UK, it) }), + OrbiFaxRecord("Brick Break", RED, bricks.takeIf { it > 0 }?.let { "%,d".format(Locale.UK, it) }), + OrbiFaxRecord("Blast Off", MAGENTA, blast.takeIf { it > 0 }?.let { "%,d".format(Locale.UK, it) }), + OrbiFaxRecord("Skydoku", WHITE, skySolved.takeIf { it > 0 }?.let { "$it solved" }), + OrbiFaxRecord("BumbleHive", YELLOW, null), + OrbiFaxRecord("Pairs", GREEN, pairs.takeIf { it > 0 }?.let { "$it moves" }), + OrbiFaxRecord("Patience", CYAN, patienceWins.takeIf { it > 0 }?.let { "$it won" })) + } +} diff --git a/android/app/src/main/java/tv/orbit/classic/OrbiFaxScreen.kt b/android/app/src/main/java/tv/orbit/classic/OrbiFaxScreen.kt new file mode 100644 index 00000000..e51cc76f --- /dev/null +++ b/android/app/src/main/java/tv/orbit/classic/OrbiFaxScreen.kt @@ -0,0 +1,272 @@ +package tv.orbit.classic + +import android.graphics.Bitmap +import android.os.SystemClock +import android.view.KeyEvent +import androidx.activity.compose.BackHandler +import androidx.compose.foundation.Canvas +import androidx.compose.foundation.background +import androidx.compose.foundation.focusable +import androidx.compose.foundation.layout.Arrangement +import androidx.compose.foundation.layout.Box +import androidx.compose.foundation.layout.BoxWithConstraints +import androidx.compose.foundation.layout.Column +import androidx.compose.foundation.layout.Row +import androidx.compose.foundation.layout.Spacer +import androidx.compose.foundation.layout.fillMaxHeight +import androidx.compose.foundation.layout.fillMaxSize +import androidx.compose.foundation.layout.height +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.layout.size +import androidx.compose.foundation.layout.width +import androidx.compose.runtime.Composable +import androidx.compose.runtime.LaunchedEffect +import androidx.compose.runtime.getValue +import androidx.compose.runtime.mutableIntStateOf +import androidx.compose.runtime.mutableLongStateOf +import androidx.compose.runtime.mutableStateOf +import androidx.compose.runtime.remember +import androidx.compose.runtime.setValue +import androidx.compose.ui.Alignment +import androidx.compose.ui.Modifier +import androidx.compose.ui.focus.FocusRequester +import androidx.compose.ui.focus.focusRequester +import androidx.compose.ui.geometry.Offset +import androidx.compose.ui.geometry.Size +import androidx.compose.ui.graphics.Brush +import androidx.compose.ui.graphics.Color +import androidx.compose.ui.graphics.FilterQuality +import androidx.compose.ui.graphics.asImageBitmap +import androidx.compose.ui.graphics.drawscope.Stroke +import androidx.compose.ui.graphics.drawscope.rotate +import androidx.compose.ui.input.key.onPreviewKeyEvent +import androidx.compose.ui.text.font.FontWeight +import androidx.compose.ui.unit.IntOffset +import androidx.compose.ui.unit.IntSize +import androidx.compose.ui.unit.dp +import androidx.compose.ui.unit.sp +import androidx.tv.material3.Text +import java.time.ZoneId +import kotlinx.coroutines.asCoroutineDispatcher +import kotlinx.coroutines.delay +import kotlinx.coroutines.withContext + +/** Sub-pages turn on their own every this often, unless Reduce motion is on (then only < and > turn them). */ +internal const val ORBI_FAX_CAROUSEL_MS = 12_000L +/** The pages' records are read again this often while Orbi-Fax is open. */ +private const val ORBI_FAX_REFRESH_MS = 60_000L +private const val ARRIVALS_SHOWN = 64 +internal const val LISTED_SHOWS = 18 + +/** Orbit Classic's own colours, for the 16:9 margins only (design/orbi-fax/NOTES.md). Inside the page it's teletext's eight. */ +private val MarginTop = Color(0xFF030915) +private val MarginBottom = Color(0xFF12356B) +private val MarginFrame = Color(0xFF194C91) +private val MarginFocus = Color(0xFFFFDE59) +private val MarginMuted = Color(0xFFB7CBE8) +private val MarginOrange = Color(0xFFF7A928) + +/** + * Reads what Orbi-Fax shows from Orbit's own records, for the profile watching. [channels] and [plans] come already + * filtered by the After Dark lock and the profile; Kids also never sees After Dark or the late show here, whatever is ticked. + */ +internal fun orbiFaxData(channels: List, plans: Map, driveIn: ChannelPlan?, arrivals: () -> List, + records: List, profile: Profile?, nowMs: Long, zone: ZoneId = ZoneId.systemDefault(), + shows: Int = LISTED_SHOWS, pause: () -> Unit = {}): OrbiFaxData { + val kids = profile?.kind == ProfileKind.Kids + fun kidsMayNotSee(number: Int) = kids && (number == AFTER_DARK_NUMBER || number in LockedChannels) + val shown = channels.filterNot { lockedOut(it.number) || profileHides(it.number, profile) || kidsMayNotSee(it.number) }.sortedBy { it.number } + val listed = shown.map { ch -> + pause() + val shows = runCatching { ch.guide(nowMs, shows.coerceIn(1, LISTED_SHOWS)) }.getOrDefault(emptyList()).map { show -> + val title = if (kids && takeoverOf(ch.number, show, zone)?.kidsSafe == false) "Asleep till 6am" else guideTitle(ch.number, show).first + OrbiFaxShow(show.startMs, teletextText(title)) + } + OrbiFaxChannel(ch.number, teletextText(ChannelBrands.displayName(ch)), shows) + } + val driveInAllowed = profile == null || profile.kind != ProfileKind.Kids || profile.driveIn + val okPlans = plans.filterKeys { !lockedOut(it) && !profileHides(it, profile) && !kidsMayNotSee(it) } + val page = runCatching { whatsOnPage(okPlans, driveIn.takeIf { driveInAllowed }, nowMs, zone) }.getOrNull() + val highlights = page?.let { listOfNotNull(it.pick) + it.tonight + it.comingUp }.orEmpty() + .filterNot { it.driveIn != null && (lockedOut(it.driveIn) || (kids && it.driveIn.kind == DriveInKind.LateShow)) } + .distinctBy { it.channel to it.startMs }.sortedBy { it.startMs } + .map { item -> + val name = if (item.driveIn != null) "The Drive-In" else ChannelBrands.forNumber(item.channel)?.displayName ?: "Channel ${item.channel}" + OrbiFaxHighlight(teletextText(name), item.startMs, teletextText(item.title), teletextText(item.tag)) + } + val bills = if (!driveInAllowed) null else driveIn?.let { plan -> + runCatching { driveInLineup(driveInBills(plan, zone), nowMs) }.getOrDefault(emptyList()) + .filterNot { lockedOut(it) || (kids && it.kind == DriveInKind.LateShow) }.take(4) + .map { bill -> OrbiFaxBill(teletextText(bill.kind.label), teletextText(driveInWhen(bill, nowMs)), bill.entries.map { teletextText(guideTitleParts(it.media.item.title).first) }) } + }.orEmpty().takeIf { driveInAllowed } + // The library page lists whatever arrived, with no rating to go by, so it's for grown-up profiles only. + val newArrivals = if (kids) null else runCatching(arrivals).getOrDefault(emptyList()) + .filter { it.firstSeenMs >= nowMs - NEW_TO_LIBRARY_DAYS * 24 * 60 * 60_000L }.sortedByDescending { it.firstSeenMs }.take(ARRIVALS_SHOWN) + .map { OrbiFaxArrival(teletextText(it.title + (it.year?.let { y -> " ($y)" } ?: "")), teletextText(it.type)) } + return OrbiFaxData(listed, highlights, bills, newArrivals, records.takeUnless { kids && profile?.arcade == false }, kids) +} + +/** The Arcade's records as kept today: one best per game on this TV, read from its settings. */ +internal fun orbiFaxRecords(settings: OrbitSettings) = OrbiFaxPages.records(settings.orbManBest, settings.snakeBest, settings.blockDropBest, + settings.brickBreakBest, settings.blastBest, settings.skydokuSolved, settings.pairsBest, settings.patienceWins) + +/** How long drawing takes, logged every so often for the measurement on the Xiaomi TV (tag OrbiFax). */ +private class RenderTimer { + var count = 0; var totalNs = 0L; var maxNs = 0L + fun record(ns: Long) { + count++; totalNs += ns; if (ns > maxNs) maxNs = ns + if (count == 30) { + android.util.Log.i("OrbiFax", "render avgUs=${totalNs / count / 1000} maxUs=${maxNs / 1000} renders=$count") + count = 0; totalNs = 0; maxNs = 0 + } + } +} + +/** + * Orbi-Fax full screen: the 4:3 page centred, Orbit's margins either side. Silent throughout, so the quiet settings have + * nothing to quieten. Back closes whatever's open, then hands back to the TV. + */ +@Composable +internal fun OrbiFaxScreen(load: (shows: Int, pause: () -> Unit) -> OrbiFaxData, onClose: () -> Unit) { + val zone = remember { ZoneId.systemDefault() } + val reduce = Motion.reduce + var data by remember { mutableStateOf(null) } + // The records are read on one low-priority thread of Orbi-Fax's own, a channel at a time with a breath between, so the + // reading never crowds the screen: now and next first, then the full listings, then again each minute. + val reader = remember { + java.util.concurrent.Executors.newSingleThreadExecutor { r -> Thread(r, "OrbiFax").apply { priority = Thread.MIN_PRIORITY; isDaemon = true } } + } + androidx.compose.runtime.DisposableEffect(reader) { onDispose { reader.shutdownNow() } } + LaunchedEffect(reader) { + val context = reader.asCoroutineDispatcher() + var shows = 2 + while (true) { + val started = SystemClock.elapsedRealtime() + data = withContext(context) { + runCatching { load(shows) { Thread.sleep(2) } }.onFailure { android.util.Log.w("OrbiFax", "load failed=${it.javaClass.simpleName}") }.getOrNull() + } ?: data ?: OrbiFaxData(emptyList(), emptyList(), emptyList(), emptyList(), emptyList(), kids = false) + android.util.Log.i("OrbiFax", "load shows=$shows channels=${data?.channels?.size} ms=${SystemClock.elapsedRealtime() - started}") + if (shows < LISTED_SHOWS) { shows = LISTED_SHOWS; delay(1_500) } else delay(ORBI_FAX_REFRESH_MS) + } + } + val book = remember(data) { data?.let(::OrbiFaxPages) } + var nav by remember { mutableStateOf(OrbiFaxNav()) } + var nowMs by remember { mutableLongStateOf(System.currentTimeMillis()) } + LaunchedEffect(Unit) { while (true) { delay(1_000 - System.currentTimeMillis() % 1_000); nowMs = System.currentTimeMillis() } } + // The wizard's warning types itself out, unless Reduce motion is on. + var reveal by remember(nav.page) { mutableIntStateOf(if (reduce) Int.MAX_VALUE else 0) } + LaunchedEffect(nav.page, reduce) { + if (nav.page == ORBI_FAX_WIZARD_PAGE && !reduce) while (reveal < ORBI_FAX_WARNING.length) { delay(70); reveal++ } + } + LaunchedEffect(nav, book, reduce) { + val b = book ?: return@LaunchedEffect + if (!reduce && b.subPages(nav.page) > 1) { delay(ORBI_FAX_CAROUSEL_MS); nav = nav.carousel(b) } + } + // Which page is showing, in the log, so the TV's measurements can be split by page. + LaunchedEffect(nav.page, nav.sub) { android.util.Log.i("OrbiFax", "page=${nav.page} sub=${nav.sub}") } + + // Fixed buffers, made once: the page, its 240 x 250 dots and the bitmap they're copied into. + val page = remember { TeletextPage() } + val pixels = remember { IntArray(Teletext.WIDTH * Teletext.HEIGHT) } + val bitmap = remember { Bitmap.createBitmap(Teletext.WIDTH, Teletext.HEIGHT, Bitmap.Config.ARGB_8888) } + val image = remember(bitmap) { bitmap.asImageBitmap() } + val timer = remember { RenderTimer() } + val minute = nowMs / 60_000 + // The whole page is built and drawn only when it changes; each second only the header row (the clock) is. + val body = remember(book, nav, reveal, minute) { + val b = book + if (b != null) { + val started = SystemClock.elapsedRealtimeNanos() + b.build(page, nav.page, nav.sub, nowMs, zone, reveal, nav.focus.takeIf { nav.picker == null } ?: -1) + b.header(page, nav, nowMs, zone); b.fastext(page, nav) + TeletextRenderer.render(page, pixels) + bitmap.setPixels(pixels, 0, Teletext.WIDTH, 0, 0, Teletext.WIDTH, Teletext.HEIGHT) + timer.record(SystemClock.elapsedRealtimeNanos() - started) + } + Any() + } + val drawn = remember { IntArray(1) } + val stamp = remember(body, nowMs) { + val b = book + if (b != null) { + b.header(page, nav, nowMs, zone) + TeletextRenderer.render(page, pixels, 0, 0) + bitmap.setPixels(pixels, 0, Teletext.WIDTH, 0, 0, Teletext.WIDTH, Teletext.CELL_H) + } + ++drawn[0] + } + + val focus = remember { FocusRequester() } + LaunchedEffect(Unit) { focus.requestFocus() } + BackHandler { val b = book; val next = if (b == null) null else nav.press(OrbiFaxKey.Back, b); if (next == null) onClose() else nav = next } + var okDown by remember { mutableStateOf(false) } + BoxWithConstraints(Modifier.fillMaxSize().background(Brush.verticalGradient(listOf(MarginTop, MarginBottom))) + .focusRequester(focus).focusable().onPreviewKeyEvent { event -> + val native = event.nativeKeyEvent + val b = book ?: return@onPreviewKeyEvent native.keyCode != KeyEvent.KEYCODE_BACK + val ok = native.keyCode == KeyEvent.KEYCODE_DPAD_CENTER || native.keyCode == KeyEvent.KEYCODE_ENTER || native.keyCode == KeyEvent.KEYCODE_NUMPAD_ENTER + // OK acts on release, and only after its own press here, so the OK that opened Orbi-Fax doesn't also act on it. + if (ok) { + if (native.action == KeyEvent.ACTION_DOWN) okDown = true + else if (native.action == KeyEvent.ACTION_UP && okDown) { okDown = false; nav.press(OrbiFaxKey.Ok, b)?.let { nav = it } } + return@onPreviewKeyEvent true + } + if (native.action != KeyEvent.ACTION_DOWN) return@onPreviewKeyEvent native.keyCode != KeyEvent.KEYCODE_BACK + val key = when (native.keyCode) { + KeyEvent.KEYCODE_DPAD_UP -> OrbiFaxKey.Up + KeyEvent.KEYCODE_DPAD_DOWN -> OrbiFaxKey.Down + KeyEvent.KEYCODE_DPAD_LEFT -> OrbiFaxKey.Left + KeyEvent.KEYCODE_DPAD_RIGHT -> OrbiFaxKey.Right + KeyEvent.KEYCODE_CHANNEL_UP, KeyEvent.KEYCODE_PAGE_UP -> OrbiFaxKey.PageUp + KeyEvent.KEYCODE_CHANNEL_DOWN, KeyEvent.KEYCODE_PAGE_DOWN -> OrbiFaxKey.PageDown + KeyEvent.KEYCODE_PROG_RED -> OrbiFaxKey.Red + KeyEvent.KEYCODE_PROG_GREEN -> OrbiFaxKey.Green + KeyEvent.KEYCODE_PROG_YELLOW -> OrbiFaxKey.Yellow + KeyEvent.KEYCODE_PROG_BLUE -> OrbiFaxKey.Cyan + else -> null + } + when { + native.keyCode in KeyEvent.KEYCODE_0..KeyEvent.KEYCODE_9 -> nav = nav.digit(native.keyCode - KeyEvent.KEYCODE_0) + key != null -> nav.press(key, b)?.let { nav = it } + else -> return@onPreviewKeyEvent false + } + true + }) { + val pageHeight = maxHeight * (1000f / 1080f) + val pageWidth = pageHeight * 1.44f + val margin = (maxWidth - pageWidth) / 2 + Row(Modifier.fillMaxSize(), verticalAlignment = Alignment.CenterVertically) { + Column(Modifier.width(margin).fillMaxHeight().padding(vertical = 40.dp), horizontalAlignment = Alignment.CenterHorizontally) { + Canvas(Modifier.size(72.dp)) { + drawCircle(MarginFocus, size.minDimension * .28f, style = Stroke(size.minDimension * .055f)) + rotate(-25f) { + drawOval(Color.White, Offset(size.width * .04f, size.height * .39f), Size(size.width * .92f, size.height * .22f), style = Stroke(size.minDimension * .035f)) + } + } + Text("Orbi-Fax", color = Color.White, fontSize = 20.sp, fontWeight = FontWeight.SemiBold) + Box(Modifier.padding(vertical = 6.dp).width(40.dp).height(2.dp).background(MarginOrange)) + Text("channel 000", color = MarginMuted, fontSize = 12.sp) + } + Box(Modifier.width(pageWidth).height(pageHeight).background(MarginFrame).padding(2.dp)) { + Canvas(Modifier.fillMaxSize()) { + stamp // read, so a new page or second redraws + drawImage(image, IntOffset.Zero, IntSize(Teletext.WIDTH, Teletext.HEIGHT), IntOffset.Zero, + IntSize(size.width.toInt(), size.height.toInt()), filterQuality = FilterQuality.None) + } + } + Column(Modifier.weight(1f).fillMaxHeight().padding(vertical = 40.dp), horizontalAlignment = Alignment.CenterHorizontally) { + Text("P${nav.page}", color = MarginFocus, fontSize = 28.sp, fontWeight = FontWeight.SemiBold) + val count = book?.subPages(nav.page) ?: 1 + if (count > 1) Text("${nav.sub.coerceIn(0, count - 1) + 1}/$count", color = MarginMuted, fontSize = 13.sp) + Spacer(Modifier.weight(1f)) + val hints = if (nav.picker != null) listOf("\u25B2\u25BC" to "Digit", "\u25C0\u25B6" to "Move", "OK" to "Go", "Back" to "Cancel") + else listOf("\u25B2\u25BC" to "Choose", "OK" to "Open", "\u25C0\u25B6" to "Turn", "Back" to "TV") + hints.forEach { (key, what) -> + Text(key, color = MarginFocus, fontSize = 15.sp, fontWeight = FontWeight.SemiBold, modifier = Modifier.padding(top = 10.dp)) + Text(what, color = MarginMuted, fontSize = 13.sp) + } + Spacer(Modifier.height(24.dp)) + } + } + } +} diff --git a/android/app/src/test/java/tv/orbit/classic/OrbiFaxTest.kt b/android/app/src/test/java/tv/orbit/classic/OrbiFaxTest.kt new file mode 100644 index 00000000..57e0af59 --- /dev/null +++ b/android/app/src/test/java/tv/orbit/classic/OrbiFaxTest.kt @@ -0,0 +1,235 @@ +package tv.orbit.classic + +import java.time.ZoneId +import java.time.ZonedDateTime +import org.junit.After +import org.junit.Assert.* +import org.junit.Test + +/** Orbi-Fax Stage 1: the 40 x 25 page, its drawing, navigation, the profile filter and the wizard on 999. */ +class OrbiFaxTest { + private val zone = ZoneId.of("Europe/London") + private val now = ZonedDateTime.of(2026, 11, 8, 18, 0, 23, 0, zone).toInstant().toEpochMilli() + + @After fun reset() { Profiles.current = null } + + private fun channel(number: Int, name: String) = SampleChannel(List(3) { i -> + ScheduledMedia(SampleItem("Show $number-$i", "Episode", 30, "mkv", "c$number-$i", 30 * 60_000L), "c$number-$i-src", 30 * 60_000L) + }, name, number) + + private fun data(channels: Int = 3, highlights: Int = 0, arrivals: Int = 0, kids: Boolean = false) = OrbiFaxData( + List(channels) { OrbiFaxChannel(101 + it, "Orbit ${it + 1}", listOf(OrbiFaxShow(now - 60_000, "Now $it"), OrbiFaxShow(now + 60_000, "Next $it"))) }, + List(highlights) { OrbiFaxHighlight("Orbit 1", now + it * 60_000L, "Film $it", "FIRST ON ORBIT") }, + emptyList(), List(arrivals) { OrbiFaxArrival("Arrival $it", "Movie") }, OrbiFaxPages.records(0, 0, 0, 0, 0, 0, 0, 0), kids) + + private fun built(book: OrbiFaxPages, page: Int, sub: Int = 0, nav: OrbiFaxNav = OrbiFaxNav(page = page, sub = sub)): TeletextPage = + TeletextPage().also { book.build(it, page, sub, now, zone); book.header(it, nav, now, zone); book.fastext(it, nav) } + + // ---- the page ---- + + @Test fun everyPageIsFortyByTwentyFive() { + val book = OrbiFaxPages(data(channels = 9, highlights = 7, arrivals = 20)) + for (p in book.pages.toList() + listOf(ORBI_FAX_WIZARD_PAGE, 123, 300)) { + val page = built(book, p) + for (r in 0 until Teletext.ROWS) assertEquals("page $p row $r", Teletext.COLS, page.rowText(r).length) + } + } + + @Test fun textIsClippedAtTheRowsEndAndDoubleHeightCoversTheRowBelow() { + val page = TeletextPage() + assertEquals(45, page.put(2, 35, "abcdefghij")) + assertEquals("abcde", page.rowText(2).substring(35)) + page.put(5, 0, "ORBI", Teletext.YELLOW, Teletext.BLUE, double = true) + assertEquals(TeletextPage.DOUBLE, page.flags[5 * 40].toInt()) + assertEquals(TeletextPage.LOWER, page.flags[6 * 40].toInt()) + assertEquals(Teletext.BLUE, page.bg[6 * 40].toInt()) + } + + @Test fun textOutsideTheGlyphSetIsMadePlain() { + assertEquals("Amelie's - \"Cafe\"", teletextText("Amélie’s – “Café”")) + assertEquals("a b", teletextText("a b")) + } + + @Test fun theHeaderCarriesPageNameDateAndClock() { + val page = built(OrbiFaxPages(data()), 100) + assertEquals("P100 ORBI-FAX 100 Sun 08 Nov 18:00:23", page.rowText(0)) + val typing = TeletextPage().also { OrbiFaxPages(data()).header(it, OrbiFaxNav().digit(5), now, zone) } + assertEquals("5--", typing.rowText(0).substring(16, 19)) + } + + @Test fun theFastextRowHasThreeColouredLinksAndGoToPage() { + val book = OrbiFaxPages(data()) + val page = built(book, 100) + val row = page.rowText(24) + assertTrue(row, row.startsWith(" On Now")) + assertEquals("Go to page", row.substring(29, 39)) + assertEquals(listOf(Teletext.RED, Teletext.GREEN, Teletext.YELLOW, Teletext.CYAN), (0 until 4).map { page.fg[24 * 40 + it * 9 + 1 + (if (it == 3) 1 else 0)].toInt() }) + } + + @Test fun theRendererDrawsDotsMosaicsAndBackgroundsInThePalette() { + val page = TeletextPage(); val out = IntArray(Teletext.WIDTH * Teletext.HEIGHT) + page.put(0, 0, "I", Teletext.YELLOW, Teletext.BLUE) + page.mosaic(1, 0, 0b000001, Teletext.RED) + TeletextRenderer.render(page, out) + val yellow = Teletext.PALETTE[Teletext.YELLOW]; val blue = Teletext.PALETTE[Teletext.BLUE] + assertEquals(blue, out[0]) // the dot row above every glyph is background + assertEquals(yellow, out[1 * 240 + 2]) // the I's top bar: .###. + assertEquals(blue, out[1 * 240 + 0]) + assertEquals(Teletext.PALETTE[Teletext.RED], out[10 * 240 + 0]) // top-left sixel of row 1 + assertEquals(Teletext.PALETTE[Teletext.BLACK], out[10 * 240 + 3]) + } + + @Test fun doubleHeightGlyphsReachIntoTheRowBelow() { + val page = TeletextPage(); val out = IntArray(Teletext.WIDTH * Teletext.HEIGHT) + page.put(1, 0, "I", Teletext.WHITE, double = true) + TeletextRenderer.render(page, out) + val white = Teletext.PALETTE[Teletext.WHITE] + assertEquals(white, out[(10 + 2) * 240 + 2]); assertEquals(white, out[(10 + 3) * 240 + 2]) + assertEquals(white, out[(10 + 15) * 240 + 2]) // the I's bottom bar, drawn in row 2 + } + + @Test fun everyGlyphFitsItsFiveDots() { + for (c in 32..126) for (r in 0 until 9) assertTrue(TeletextRenderer.glyphRow(c.toChar(), r) in 0..31) + assertNotEquals(0, TeletextRenderer.glyphRow('A', 0)) + } + + // ---- numbering and navigation ---- + + @Test fun threeDigitsGoToThePageAndBackClearsWhatsKeyed() { + val book = OrbiFaxPages(data()) + val nav = OrbiFaxNav().digit(5).digit(0) + assertEquals(100, nav.page); assertEquals("50", nav.typed) + assertEquals("", nav.press(OrbiFaxKey.Back, book)!!.typed) + assertEquals(501, nav.digit(1).page) + assertEquals(100, OrbiFaxNav().digit(0).digit(4).digit(2).page) // below 100 is the index + } + + @Test fun leftAndRightTurnThePagesButNeverOnto999() { + val book = OrbiFaxPages(data(channels = 1)) // one channel: no page has sub-pages to turn first + var nav = OrbiFaxNav() + val seen = mutableListOf() + repeat(book.pages.size) { nav = nav.press(OrbiFaxKey.Right, book)!!; seen += nav.page } + assertEquals(book.pages.drop(1) + 100, seen) + assertFalse(ORBI_FAX_WIZARD_PAGE in seen) + assertEquals(book.pages.last(), OrbiFaxNav().press(OrbiFaxKey.Left, book)!!.page) + assertEquals(ORBI_FAX_INDEX, OrbiFaxNav(page = ORBI_FAX_WIZARD_PAGE).press(OrbiFaxKey.Right, book)!!.page) + } + + @Test fun leftAndRightTurnSubPagesFirstThenPagesAndTheCarouselWaitsForKeying() { + val book = OrbiFaxPages(data(channels = 13)) + assertEquals(3, book.subPages(ORBI_FAX_NOW_NEXT)) + var nav = OrbiFaxNav(page = ORBI_FAX_NOW_NEXT) + nav = nav.press(OrbiFaxKey.Right, book)!!; assertEquals(1, nav.sub) + nav = nav.press(OrbiFaxKey.Right, book)!!; assertEquals(2, nav.sub) + nav = nav.press(OrbiFaxKey.Right, book)!!; assertEquals(ORBI_FAX_LISTINGS, nav.page); assertEquals(0, nav.sub) + nav = nav.press(OrbiFaxKey.Left, book)!!; assertEquals(ORBI_FAX_NOW_NEXT, nav.page); assertEquals(2, nav.sub) // back onto its last sub-page + assertEquals(ORBI_FAX_INDEX, OrbiFaxNav(page = ORBI_FAX_NOW_NEXT).press(OrbiFaxKey.Left, book)!!.page) + assertEquals(1, OrbiFaxNav(page = ORBI_FAX_NOW_NEXT).carousel(book).sub) + assertEquals(0, OrbiFaxNav(page = ORBI_FAX_NOW_NEXT).digit(1).carousel(book).sub) + assertTrue(built(book, ORBI_FAX_NOW_NEXT, 1).rowText(1).endsWith("2/3")) + } + + @Test fun upAndDownChooseALinkAndOkGoesThere() { + val book = OrbiFaxPages(data()) + val choices = book.choices(100) + assertEquals(listOf(500, 510, 520, 600, 700), choices.take(5)) + assertEquals(ORBI_FAX_GO_TO, choices.last()) + var nav = OrbiFaxNav() + assertEquals(500, nav.press(OrbiFaxKey.Ok, book)!!.page) // the first section is chosen to start with + nav = nav.press(OrbiFaxKey.Down, book)!! + assertEquals(510, nav.press(OrbiFaxKey.Ok, book)!!.page) + assertEquals(0, nav.press(OrbiFaxKey.Up, book)!!.press(OrbiFaxKey.Up, book)!!.focus) // stops at the top + repeat(20) { nav = nav.press(OrbiFaxKey.Down, book)!! } + assertEquals(choices.size - 1, nav.focus) // stops at Go to page + val linked = OrbiFaxNav(page = 700, focus = 1).press(OrbiFaxKey.Ok, book)!! + assertEquals(book.link(700, 1), linked.page) + assertEquals(book.link(100, 0), OrbiFaxNav().press(OrbiFaxKey.Red, book)!!.page) + } + + @Test fun goToPageOpensTheDigitPickerInOnePress() { + val book = OrbiFaxPages(data()) + var nav = OrbiFaxNav(page = 700, focus = book.choices(700).size - 1).press(OrbiFaxKey.Ok, book)!! + assertEquals(listOf(7, 0, 0), nav.picker!!.digits) + nav = nav.press(OrbiFaxKey.Up, book)!!.press(OrbiFaxKey.Up, book)!!.press(OrbiFaxKey.Right, book)!!.press(OrbiFaxKey.Down, book)!! + assertEquals(listOf(9, 9, 0), nav.picker!!.digits) + assertEquals(990, nav.press(OrbiFaxKey.Ok, book)!!.page) + assertNotNull(OrbiFaxNav().press(OrbiFaxKey.Cyan, book)!!.picker) // the cyan key too + val page = built(book, 700, nav = OrbiFaxNav(page = 700).press(OrbiFaxKey.Cyan, book)!!) + assertEquals(Teletext.CYAN, page.bg[24 * 40 + 29].toInt()) // Go to page shows as chosen + } + + @Test fun theChosenSectionShowsInReverse() { + val book = OrbiFaxPages(data()) + val page = TeletextPage().also { book.build(it, 100, 0, now, zone, focus = 1) } + assertEquals(Teletext.YELLOW, page.bg[9 * 40 + 2].toInt()); assertEquals(Teletext.BLACK, page.fg[9 * 40 + 2].toInt()) + assertEquals(Teletext.BLACK, page.bg[7 * 40 + 2].toInt()) + } + + @Test fun backClosesThePickerThenAlwaysHandsBackToTheTv() { + val book = OrbiFaxPages(data()) + val picker = OrbiFaxNav().press(OrbiFaxKey.Cyan, book)!! + assertNull(picker.press(OrbiFaxKey.Back, book)!!.picker) + assertNull(OrbiFaxNav(page = 700).press(OrbiFaxKey.Back, book)) + assertNull(OrbiFaxNav(page = 501, sub = 3, focus = 2).press(OrbiFaxKey.Back, book)) + } + + @Test fun page999IsTheWizardWithHisWarningWordForWord() { + val page = built(OrbiFaxPages(data()), 999, nav = OrbiFaxNav().digit(9).digit(9).digit(9)) + val warning = listOf(3, 5, 7, 9).joinToString(" ") { page.rowText(it).substring(21).trim() } + assertEquals(ORBI_FAX_WARNING, warning) + assertEquals("You have gone too far, young traveller. Return at once!", ORBI_FAX_WARNING) + assertTrue((2..19).any { r -> page.rowText(r).substring(1, 19).contains('#') }) // the wizard himself + assertEquals(999, OrbiFaxNav().digit(9).digit(9).digit(9).page) + } + + @Test fun theWarningTypesOutAsRevealed() { + val book = OrbiFaxPages(data()) + val page = TeletextPage().also { book.build(it, 999, 0, now, zone, reveal = 15) } + assertEquals("You have gone", page.rowText(3).substring(21).trim()) + assertEquals("to", page.rowText(5).substring(21).trim()) + } + + @Test fun pagesThatArentThereSaySoAndTheLaterOnesSayComingLater() { + val book = OrbiFaxPages(data()) + assertTrue(built(book, 123).rowText(6).contains("no page 123")) + assertTrue(built(book, 400).rowText(6).contains("Weather is coming later")) + assertTrue(built(book, 100).rowText(21).contains("News 101")) + } + + // ---- profiles ---- + + @Test fun kidsSeeOnlyTheirChannelsAndNeverAfterDarkTheLibraryOrALockedArcade() { + val kids = Profile("k", "Kids", "ollie", ProfileKind.Kids, setOf(611, AFTER_DARK_NUMBER), arcade = false, driveIn = false) + Profiles.current = kids + val channels = listOf(channel(101, "Orbit 1"), channel(611, "Orbit Junior"), channel(AFTER_DARK_NUMBER, "Orbit After Dark")) + val d = orbiFaxData(channels, emptyMap(), null, { error("Kids never read the library") }, OrbiFaxPages.records(1, 0, 0, 0, 0, 0, 0, 0), kids, now, zone) + assertEquals(listOf(611), d.channels.map { it.number }) + assertNull(d.arrivals); assertNull(d.records); assertNull(d.driveIn) + val book = OrbiFaxPages(d) + assertFalse(ORBI_FAX_ARRIVALS in book.pages); assertFalse(ORBI_FAX_ARCADE in book.pages); assertFalse(ORBI_FAX_DRIVE_IN in book.pages) + assertTrue(built(book, ORBI_FAX_ARCADE).rowText(6).contains("isn't on this profile")) + assertFalse((0 until 25).any { built(book, 100).rowText(it).contains("Arcade Records") }) + assertTrue(book.choices(100).none { it in setOf(ORBI_FAX_ARRIVALS, ORBI_FAX_ARCADE, ORBI_FAX_DRIVE_IN) }) + } + + @Test fun grownUpsSeeEveryChannelWithNowAndNext() { + val grown = Profile("g", "Adult", "ollie", ProfileKind.Grown) + Profiles.current = grown + val d = orbiFaxData(listOf(channel(102, "Orbit 2"), channel(101, "Orbit 1")), emptyMap(), null, { emptyList() }, OrbiFaxPages.records(0, 0, 0, 0, 0, 0, 0, 0), grown, now, zone) + assertEquals(listOf(101, 102), d.channels.map { it.number }) + assertTrue(d.channels.all { it.shows.size >= 2 }) + assertNotNull(d.arrivals); assertNotNull(d.records) + val page = built(OrbiFaxPages(d), ORBI_FAX_NOW_NEXT) + assertTrue(page.rowText(5).contains("Orbit 1") || page.rowText(5).contains("101")) + } + + @Test fun arcadeRecordsUseTodaysSingleBestPerGame() { + val records = OrbiFaxPages.records(12480, 318, 0, 0, 0, 2, 14, 3) + assertEquals("12,480", records.first { it.game == "Star Chase" }.best) + assertNull(records.first { it.game == "Block Drop" }.best) + assertEquals("14 moves", records.first { it.game == "Pairs" }.best) + assertEquals(9, records.size) + val page = built(OrbiFaxPages(data().copy(records = records)), ORBI_FAX_ARCADE) + assertTrue(page.rowText(5).startsWith(" STAR CHASE")); assertTrue(page.rowText(5).trimEnd().endsWith("12,480")) + } +} diff --git a/design/orbi-fax/NOTES.md b/design/orbi-fax/NOTES.md new file mode 100644 index 00000000..7057d926 --- /dev/null +++ b/design/orbi-fax/NOTES.md @@ -0,0 +1,97 @@ +# Orbi-Fax concept previews (8 November 2026) + +Concept previews only. No app code, build, install or TV was touched, and no existing asset was changed. Everything is in this folder. + +## Files + +| Page | PNG (1920x1080) | Editable source | +|---|---|---| +| P100 index | `orbi-fax-p100-index.png` | `orbi-fax-p100-index.figcraft`, `.svg` | +| P501 now and next (sub-page 1/4) | `orbi-fax-p501-now-next.png` | `orbi-fax-p501-now-next.figcraft`, `.svg` | +| P700 Arcade records (sub-page 1/2) | `orbi-fax-p700-arcade-records.png` | `orbi-fax-p700-arcade-records.figcraft`, `.svg` | +| P999 wizard Easter egg | `orbi-fax-p999-wizard.png` | `orbi-fax-p999-wizard.figcraft`, `.svg` | +| Orbi-Fax mosaic mark | `orbi-fax-mark.png` (468x160) | `orbi-fax-mark.vectorcraft`, `.svg` | + +Also here: + +- `build-orbi-fax.py` is the generator. Each page is defined as a 40x25 cell grid, and the glyph table, mark and wizard are all in this one file. +- `render.sh` rebuilds everything: the SVGs, then FigCraft convert/export and VectorCraft convert. +- `*.txt` holds a plain 40x25 dump of each page, with mosaic cells shown as `#`. It's there to check the grid and to copy text from. All four are exactly 40 columns by 25 rows. + +## Tools + +- **FigCraft 0.16.0** (`figcraft-cli convert` / `export`): turns each page SVG into a `.figcraft` file (one 1920x1080 frame, with layers grouped as `orbit-margins`, `backgrounds` and `row-00` to `row-24`) and exports the PNG. This is the same pipeline as `design/render-designs.sh`. +- **VectorCraft 0.22.0** (`vectorcraft-cli convert`): the mosaic mark, as `.vectorcraft` and PNG. +- Python 3 writes the SVGs. No new packages were installed. + +## Grid and font + +- The teletext area is 1440x1000, centred on the 16:9 frame (x 240, y 40). It has 40 x 25 cells of 36x40 px, and each cell holds a 6x10 dot matrix with 6x4 px dots. +- Mosaics are true 2x3 contiguous sixels (18 px wide, with bands 13/14/13 px high). Double-height text uses rows 1–2 on P100, P501 and P700, and four lines on P999. +- **Font:** I didn't use Bedstead. It isn't installed on this machine, and downloading it needed your OK, so I drew an original 5x9 dot-matrix glyph set in the SAA5050 style instead. It covers A–Z, a–z, 0–9 and common punctuation, and lives in `GLYPHS` in `build-orbi-fax.py`. It was made for this concept and carries no third-party licence, so it can be used freely in Orbit. The text is drawn as vector dots, not live text. To change the wording, edit the script and run `render.sh`. Bedstead (public domain, bjh21.me.uk/bedstead) could replace it later if you'd like live editable text in FigCraft. +- **Side margins:** Barlow SemiBold/Regular from `design/fonts` (SIL OFL 1.1, already in the project). `render.sh` copies the fonts into a temporary folder, not into `.tooling`. + +## Colours + +Inside the teletext page there are only the eight teletext colours: + +| Teletext | Hex | Used for | Orbit mapping | +|---|---|---|---| +| Black | #000000 | page background | – | +| Blue | #0000ff | header band, channel bars, P100 banner, "coming later" sections, wizard robe | stands in for Orbit navy/panel blue (#071632 / #12356B / #194C91) | +| Yellow | #ffff00 | ORBI-FAX, titles, rules, clock, Fastext 3 | stands in for Orbit focus yellow #FFDE59 and the mark's ring | +| White | #ffffff | body text, page numbers, the mark's orbit line | Orbit text white | +| Cyan | #00ffff | secondary info, "next" programmes, profile initials, Fastext 4 | closest to Orbit supporting text #B7CBE8 | +| Red | #ff0000 | Fastext 1, Brick Break, wizard staff | – | +| Green | #00ff00 | Fastext 2, Comet Trail | – | +| Magenta | #ff00ff | Blast Off, wizard's shoes, P999 footer | – | + +The 16:9 side margins use Orbit's own colours: the night gradient #030915 → #12356B (as in `create-classic-osd.py`), a #194C91 frame, #FFDE59 for the page number, #B7CBE8 for supporting text, and the ring mark from `orbit-wordmark.svg`. Teletext has no orange, so Orbit orange (#F7A928, the orange used in the Android code; I couldn't find a documented orange token) appears only as the short rule under "Orbi-Fax" in the left margin. + +The Orbit mark is redrawn by hand as a 26x12-sixel mosaic: a yellow planet ring with a white orbit crossing it. It appears on P100 and on its own in `orbi-fax-mark.*`. It uses no Ceefax or BBC names or look-alike marks. + +## Content sources + +- **Channels (P501):** real names and numbers from `ChannelBranding.kt`: 101 Orbit 1, 102 Orbit 2, 103 Orbit Three, 104 Orbit Gold, 105 Orbit Riot and 109 Orbit Signature. The programme titles are invented placeholders. "The Last Shuttle Home" and "Beyond the Blue" come from existing Orbit mockups. No server or library data was used. +- **Arcade (P700):** the brief's working names were checked against the `ArcadeGame` titles in `OrbitArcade.kt`, and the app's current display names are used: Star Chase (was Orb Man), Comet Trail (Snake), Block Drop, Brick Break and Blast Off on 1/2. Sub-page 2/2 is only listed: Skydoku, BumbleHive (OrbitHive was renamed BumbleHive on 5 November 2026) and Pairs, Patience. "OrbitHive Bedlam" isn't a current game name. +- **P999:** the warning is shown exactly as "You have gone too far, young traveller. Return at once!", set in double height over four lines. The wizard is original mosaic art drawn in code for this concept (`wizard()`). He's smiling, with a blue starry hat, a white beard, a red staff topped with a yellow star and cyan sparkles. Suitable for the Kids profile. + +## What I couldn't do or chose not to do + +- **Bedstead:** not used (see Font above). +- **P700 records:** the app today keeps one best score per game per device (`settings.snakeBest` and so on), with no per-profile tables or initials. The initials PAU, KID and GST and all the scores are placeholders. A real per-profile leaderboard would need new record storage. +- **"Greyed out":** teletext has no grey, so News 101, Sport 300 and Weather 400 are dimmed by using blue text under a white "Coming later" label. +- **Control codes:** colour changes mostly fall on space cells, as a real teletext row would need. The mosaic art (the mark and the wizard) changes colour cell by cell without spacing-attribute cells. That's fine for an app-drawn page, but a strict broadcast encoder would need hold-mosaics or a little redrawing. +- **Only sub-page 1 drawn:** for the P501 (1/4) and P700 (1/2) sub-page sets. +- Clock and date are fixed sample values (Sun 08 Nov, around 18:00). + +## Paul's decisions (8 November 2026), and how these previews cover them + +Approved for design exploration as a separate future feature track, so it doesn't hold up the provider work or the public launch. + +- The official name is Orbi-Fax. Channel 000 opens it, and page 100 is the index. All three are shown on P100. +- P999 is the original wizard Easter egg, with the established warning. Shown on P999. +- Not drawn yet: + - the Text entry in the TV guide + - configurable weather location and sports (these belong on future 300/400 pages) + - how Orbi-Fax looks under profile permissions, Reduced Motion and quiet settings +- Stage 1 (later, offline only) covers the renderer, navigation, page numbers, Fastext, schedules, highlights, Drive-In, library arrivals and Arcade records. Memory use must stay bounded, and the renderer is to be measured on the Xiaomi TV. +- Before any external news, weather or sports source, licensing, attribution, privacy and public-distribution compatibility must be checked. +- No change to the live TV experience, and no installs, without approval. Nothing beyond these previews has been built. + +## Second batch (8 November 2026, later) + +| Preview | PNG | Editable source | +|---|---|---| +| The TV guide's Text entry (Orbit Night look) | `orbi-fax-guide-text-entry.png` | `.figcraft`, `.svg` | +| P401 your weather: choosing a town and units | `orbi-fax-p401-your-weather.png` | `.figcraft`, `.svg` | +| P301 your sports: ticking sports and football leagues | `orbi-fax-p301-your-sports.png` | `.figcraft`, `.svg` | + +All three come from `build-orbi-fax-extras.py`, and `render.sh` builds them with the rest. + +- **Guide:** the Text chip sits after the category chips. OK on it opens Orbi-Fax at page 100. Programme titles are placeholders. +- **Weather and sports:** the choices are kept on this TV only. No forecasts or scores are shown until a source has been through the licensing, attribution and privacy check. +- **Town list:** a neutral A to Z, not a guess at where you live. The sports and leagues listed are examples. +- **Not built:** these three are concepts only. Stage 1 builds the guide's Text entry, but not the weather or sports choices. + +Stage 1 itself (the app code) is on the `orbi-fax-stage1` branch. See `docs/orbi-fax-stage1.md`. diff --git a/design/orbi-fax/build-orbi-fax-extras.py b/design/orbi-fax/build-orbi-fax-extras.py new file mode 100644 index 00000000..763515d6 --- /dev/null +++ b/design/orbi-fax/build-orbi-fax-extras.py @@ -0,0 +1,97 @@ +"""Orbi-Fax concept previews, second batch (8 November 2026): the guide's Text entry, and choosing your +weather town and sports. Concepts only. Run: python3 build-orbi-fax-extras.py (render.sh converts them).""" +import importlib.util +from html import escape +from pathlib import Path +HERE = Path(__file__).parent +spec = importlib.util.spec_from_file_location('b', HERE / 'build-orbi-fax.py'); b = importlib.util.module_from_spec(spec); spec.loader.exec_module(b) +from_ = b # teletext helpers +K, R, G, Y, B, M, C, W = b.K, b.R, b.G, b.Y, b.B, b.M, b.C, b.W + +# ---- 1. The TV guide's Text entry (Orbit Night look; placeholder programme titles) ---- +def guide(): + o = ['', 'Orbi-Fax Text entry in the TV guide'] + rect = lambda x, y, w, h, c, rx=0, stroke=None, sw=2: o.append(f'') + text = lambda x, y, s, size=22, c='#ffffff', weight=400, anchor='start': o.append(f'{escape(s)}') + rect(0, 0, 1920, 1080, '#071632') + for i, tab in enumerate(['Home', 'Guide', "What's On", 'Catch Up', 'Drive-In', 'Arcade']): + x = 560 + i * 140; text(x, 92, tab, 26, '#ffffff' if tab == 'Guide' else '#b7cbe8', 600 if tab == 'Guide' else 400, 'middle') + if tab == 'Guide': rect(x - 30, 102, 60, 4, '#ffde59') + x = 120 + for label, state in [('All Channels', 'current'), ('Entertainment', ''), ('Movies', ''), ('Comedy', ''), ('Cartoons', ''), ('Text', 'focus')]: + w = 24 + len(label) * 11 + fill = '#ffde59' if state else '#12356b' + rect(x, 140, w, 34, fill, 17, '#ffffff' if state == 'focus' else None, 3) + text(x + w / 2, 164, label, 18, '#071632' if state else '#ffffff', 600, 'middle'); x += w + 12 + text(x + 8, 164, 'Text opens Orbi-Fax, page 100', 18, '#b7cbe8') + rect(120, 196, 1680, 250, '#0c244d', 10) + text(150, 250, 'ORBI-FAX', 22, '#ffde59', 600) + text(150, 310, 'Orbit’s own teletext', 46, '#ffffff', 700) + text(150, 356, 'Now and next, tonight’s highlights, the Drive-In,', 26, '#b7cbe8') + text(150, 392, 'new in your library and Arcade records. Also on channel 000.', 26, '#b7cbe8') + # a small teletext page as the picture + rect(1380, 216, 390, 212, '#000000', 0, '#194c91', 3) + for i, (s, c) in enumerate([('P100 ORBI-FAX 100', W), ('', K), ('On Orbit Now 500', Y), ("Tonight's Highlights 510", Y), ('The Drive-In 520', Y), ('Arcade Records 700', Y)]): + o.append(f'{escape(s)}') + rect(120, 470, 1680, 40, '#194c91') + for i, t in enumerate(['All Channels, today', '18:00', '18:30', '19:00', '19:30']): + text(150 + (0 if i == 0 else 260 + (i - 1) * 380), 497, t, 20, '#ffffff', 600 if i == 0 else 400) + rows = [('101', 'Orbit 1', ['Harbour Lights', 'Kitchen Table Quiz']), ('102', 'Orbit 2', ['Wild Coast Rescue', 'The Allotment']), + ('103', 'Orbit Three', ['Flatmates', 'Flatmates', 'Night Shift']), ('104', 'Orbit Gold', ['Last Orders', 'Mind the Shop'])] + for r, (num, name, shows) in enumerate(rows): + y = 522 + r * 74 + rect(120, y, 250, 66, '#12356b'); text(140, y + 42, num, 20, '#ffde59'); text(200, y + 42, name, 22, '#ffffff', 600) + x = 380 + for s in shows: + w = 1420 / len(shows) - 8 + rect(x, y, w, 66, '#12356b'); text(x + 16, y + 42, s, 22, '#ffffff'); x += w + 8 + text(120, 1010, '▲▼ Channel ◄► Time OK on Text opens Orbi-Fax Back returns here', 20, '#b7cbe8') + text(1800, 1010, 'Concept, placeholder titles', 20, '#b7cbe8', 400, 'end') + o.append(''); return '\n'.join(o) + +# ---- 2 and 3. Choosing your weather town (P401) and sports (P301), as Orbi-Fax pages ---- +def weather(): + p = b.Page(401, '1/1'); p.header(clock='18:10:05') + p.put(1, 1, 'YOUR WEATHER', Y, dh=True) + p.put(3, 1, 'Choose the town Orbi-Fax shows', C) + p.rule(4, Y) + p.put(6, 1, 'Town', W); p.bg(6, 8, 33, B); p.put(6, 9, 'Not chosen yet', C, B) + p.put(8, 1, 'Towns, A to Z (Left/Right a letter)', W) + for i, town in enumerate(['Aberdeen', 'Aberystwyth', 'Abingdon', 'Airdrie']): + r = 9 + i + p.put(r, 3, '>' if i == 0 else ' ', Y); p.put(r, 5, town, Y if i == 0 else W) + p.put(14, 1, 'Units', W); p.put(14, 9, 'Celsius, mph', Y) + p.rule(16, B) + p.put(17, 1, 'The town is kept on this TV only.', C) + p.put(18, 1, 'No forecast is shown yet: weather', C) + p.put(19, 1, 'arrives once its source is approved.', C) + p.put(22, 1, 'Up/Down choose OK save Back leave', W) + p.fastext(['Index', 'Sport', 'On Now', 'Rooms']) + return p + +def sport(): + p = b.Page(301, '1/1'); p.header(clock='18:11:40') + p.put(1, 1, 'YOUR SPORTS', Y, dh=True) + p.put(3, 1, 'Tick the sports Orbi-Fax follows', C) + p.rule(4, Y) + sports = [('Football', True), ('Rugby union', False), ('Cricket', False), ('Tennis', True), ('Golf', False), + ('Formula 1', True), ('Snooker', False), ('Darts', False), ('Athletics', False), ('Boxing', False)] + for i, (name, on) in enumerate(sports): + r = 6 + i + p.mosaic(r, 2, 0b111111 if on else 0b001100, G if on else B) + p.put(r, 4, name, W if on else C) + if i == 0: p.put(r, 30, '< here', Y) + p.put(17, 1, 'Football leagues', W); p.put(17, 19, 'Scottish, English', Y) + p.rule(19, B) + p.put(20, 1, 'Kept on this TV only. Scores arrive', C) + p.put(21, 1, 'once their source is approved.', C) + p.put(22, 1, 'Up/Down move OK tick Back leave', W) + p.fastext(['Index', 'Weather', 'On Now', 'Arcade']) + return p + +if __name__ == '__main__': + (HERE / 'orbi-fax-guide-text-entry.svg').write_text(guide()) + for name, page, title in [('orbi-fax-p401-your-weather', weather(), 'Orbi-Fax P401 your weather'), ('orbi-fax-p301-your-sports', sport(), 'Orbi-Fax P301 your sports')]: + (HERE / f'{name}.svg').write_text(page.svg(title)) + (HERE / f'{name}.txt').write_text('\n'.join(''.join(c['ch'] if c['mos'] is None else '#' for c in row) for row in page.cells) + '\n') + print('wrote 3 previews') diff --git a/design/orbi-fax/build-orbi-fax.py b/design/orbi-fax/build-orbi-fax.py new file mode 100644 index 00000000..49ea77eb --- /dev/null +++ b/design/orbi-fax/build-orbi-fax.py @@ -0,0 +1,360 @@ +"""Orbi-Fax concept pages: 40x25 teletext grid, drawn as SVG, then converted with FigCraft. + +Concept previews only. Every glyph is drawn from the original 5x9 dot-matrix table below +(made for this concept, released with it), on a 6x10 dot cell, so no font file is needed. +Run: python3 build-orbi-fax.py (then render.sh converts and exports with FigCraft/VectorCraft) +""" +from pathlib import Path +from html import escape +import math + +OUT = Path(__file__).parent +COLS, ROWS = 40, 25 +CW, CH = 36, 40 # cell size in px: 6x10 dots of 6x4 px +DW, DH = 6, 4 +X0, Y0 = 240, 40 # 1440x1000 teletext area centred on 1920x1080 +SIX_H = (13, 14, 13) # 2x3 mosaic band heights (sum 40) + +# Teletext's eight colours, nothing else inside the page. +K, R, G, Y, B, M, C, W = '#000000', '#ff0000', '#00ff00', '#ffff00', '#0000ff', '#ff00ff', '#00ffff', '#ffffff' +# Orbit's own colours, used only in the 16:9 side margins. +NAVY, PANEL, NAVBLUE, FOCUS, MUTED, ORANGE = '#071632', '#12356b', '#194c91', '#ffde59', '#b7cbe8', '#f7a928' + +GLYPHS = { + 'A':'.###./#...#/#...#/#####/#...#/#...#/#...#','B':'####./#...#/#...#/####./#...#/#...#/####.', + 'C':'.###./#...#/#..../#..../#..../#...#/.###.','D':'####./#...#/#...#/#...#/#...#/#...#/####.', + 'E':'#####/#..../#..../####./#..../#..../#####','F':'#####/#..../#..../####./#..../#..../#....', + 'G':'.###./#...#/#..../#.###/#...#/#...#/.###.','H':'#...#/#...#/#...#/#####/#...#/#...#/#...#', + 'I':'.###./..#../..#../..#../..#../..#../.###.','J':'..###/...#./...#./...#./...#./#..#./.##..', + 'K':'#...#/#..#./#.#../##.../#.#../#..#./#...#','L':'#..../#..../#..../#..../#..../#..../#####', + 'M':'#...#/##.##/#.#.#/#.#.#/#...#/#...#/#...#','N':'#...#/#...#/##..#/#.#.#/#..##/#...#/#...#', + 'O':'.###./#...#/#...#/#...#/#...#/#...#/.###.','P':'####./#...#/#...#/####./#..../#..../#....', + 'Q':'.###./#...#/#...#/#...#/#.#.#/#..#./.##.#','R':'####./#...#/#...#/####./#.#../#..#./#...#', + 'S':'.###./#...#/#..../.###./....#/#...#/.###.','T':'#####/..#../..#../..#../..#../..#../..#..', + 'U':'#...#/#...#/#...#/#...#/#...#/#...#/.###.','V':'#...#/#...#/#...#/#...#/#...#/.#.#./..#..', + 'W':'#...#/#...#/#...#/#.#.#/#.#.#/#.#.#/.#.#.','X':'#...#/#...#/.#.#./..#../.#.#./#...#/#...#', + 'Y':'#...#/#...#/.#.#./..#../..#../..#../..#..','Z':'#####/....#/...#./..#../.#.../#..../#####', + '0':'.###./#...#/#..##/#.#.#/##..#/#...#/.###.','1':'..#../.##../..#../..#../..#../..#../.###.', + '2':'.###./#...#/....#/..##./.#.../#..../#####','3':'#####/....#/...#./..##./....#/#...#/.###.', + '4':'...#./..##./.#.#./#..#./#####/...#./...#.','5':'#####/#..../####./....#/....#/#...#/.###.', + '6':'..##./.#.../#..../####./#...#/#...#/.###.','7':'#####/....#/...#./..#../.#.../.#.../.#...', + '8':'.###./#...#/#...#/.###./#...#/#...#/.###.','9':'.###./#...#/#...#/.####/....#/...#./.##..', + 'a':'...../...../.###./....#/.####/#...#/.####','b':'#..../#..../####./#...#/#...#/#...#/####.', + 'c':'...../...../.####/#..../#..../#..../.####','d':'....#/....#/.####/#...#/#...#/#...#/.####', + 'e':'...../...../.###./#...#/#####/#..../.###.','f':'..##./.#..#/.#.../###../.#.../.#.../.#...', + 'g':'...../...../.####/#...#/#...#/#...#/.####/....#/.###.','h':'#..../#..../####./#...#/#...#/#...#/#...#', + 'i':'..#../...../.##../..#../..#../..#../.###.','j':'...#./...../..##./...#./...#./...#./...#./#..#./.##..', + 'k':'.#.../.#.../.#..#/.#.#./.##../.#.#./.#..#','l':'.##../..#../..#../..#../..#../..#../.###.', + 'm':'...../...../##.#./#.#.#/#.#.#/#.#.#/#.#.#','n':'...../...../####./#...#/#...#/#...#/#...#', + 'o':'...../...../.###./#...#/#...#/#...#/.###.','p':'...../...../####./#...#/#...#/#...#/####./#..../#....', + 'q':'...../...../.####/#...#/#...#/#...#/.####/....#/....#','r':'...../...../#.##./##..#/#..../#..../#....', + 's':'...../...../.####/#..../.###./....#/####.','t':'.#.../.#.../###../.#.../.#.../.#..#/..##.', + 'u':'...../...../#...#/#...#/#...#/#...#/.####','v':'...../...../#...#/#...#/.#.#./.#.#./..#..', + 'w':'...../...../#...#/#...#/#.#.#/#.#.#/.#.#.','x':'...../...../#...#/.#.#./..#../.#.#./#...#', + 'y':'...../...../#...#/#...#/#...#/#...#/.####/....#/.###.','z':'...../...../#####/...#./..#../.#.../#####', + ' ':'', '.':'...../...../...../...../...../...../..#..', ',':'...../...../...../...../...../..#../..#../.#...', + ':':'...../..#../...../...../...../..#../.....', '/':'...../....#/...#./..#../.#.../#..../.....', + '-':'...../...../...../.###./...../...../.....', "'":'..#../..#../.#.../...../...../...../.....', + '!':'..#../..#../..#../..#../..#../...../..#..', '?':'.###./#...#/...#./..#../..#../...../..#..', + '>':'.#.../..#../...#./....#/...#./..#../.#...', '<':'...#./..#../.#.../#..../.#.../..#../...#.', + '&':'.#.../#.#../#.#../.#.../#.#.#/#..#./.##.#', '(':'...#./..#../.#.../.#.../.#.../..#../...#.', + ')':'.#.../..#../...#./...#./...#./..#../.#...', '+':'...../..#../..#../#####/..#../..#../.....', + '*':'...../..#../#.#.#/.###./#.#.#/..#../.....', '=':'...../...../#####/...../#####/...../.....', + '#':'.#.#./.#.#./#####/.#.#./#####/.#.#./.#.#.', '%':'##.../##..#/...#./..#../.#.../#..##/...##', + '"':'.#.#./.#.#./...../...../...../...../.....', '_':'...../...../...../...../...../...../#####', +} + + +class Page: + def __init__(self, number, sub=None): + self.number, self.sub = number, sub + self.cells = [[{'ch': ' ', 'fg': W, 'bg': K, 'mos': None, 'dh': False, 'hidden': False} + for _ in range(COLS)] for _ in range(ROWS)] + + def put(self, row, col, text, fg=W, bg=None, dh=False): + for i, ch in enumerate(text): + if 0 <= col + i < COLS: + c = self.cells[row][col + i] + c.update(ch=ch, fg=fg, mos=None, dh=dh) + if bg: c['bg'] = bg + if dh and row + 1 < ROWS: + below = self.cells[row + 1][col + i] + below['hidden'] = True + if bg: below['bg'] = bg + + def bg(self, row, c0, c1, colour): + for c in range(c0, c1): self.cells[row][c]['bg'] = colour + + def mosaic(self, row, col, bits, fg): + c = self.cells[row][col]; c.update(ch=' ', mos=bits, fg=fg) + + def bitmap(self, row, col, pix): + """pix: rows of colour values (None = black), 2 sixels wide x 3 high per cell.""" + h, w = len(pix), len(pix[0]) + for cr in range(math.ceil(h / 3)): + for cc in range(math.ceil(w / 2)): + counts = {} + for dy in range(3): + for dx in range(2): + y, x = cr * 3 + dy, cc * 2 + dx + if y < h and x < w and pix[y][x]: counts[pix[y][x]] = counts.get(pix[y][x], 0) + 1 + if not counts: continue + fg = max(counts, key=lambda k: (counts[k], k)) + bits = 0 + for dy in range(3): + for dx in range(2): + y, x = cr * 3 + dy, cc * 2 + dx + if y < h and x < w and pix[y][x] == fg: bits |= 1 << (dy * 2 + dx) + self.mosaic(row + cr, col + cc, bits, fg) + + def rule(self, row, fg, c0=0, c1=COLS, bits=0b110000): + for c in range(c0, c1): self.mosaic(row, c, bits, fg) + + def header(self, date='Sun 08 Nov', clock='18:00:23'): + label = f'P{self.number}' + self.put(0, 0, label, W) + self.put(0, 5, ' ORBI-FAX ', Y, B) + self.put(0, 16, str(self.number), W) + self.put(0, 21, date, W) + self.put(0, 32, clock, Y) + + def fastext(self, labels): + for i, (text, colour) in enumerate(zip(labels, (R, G, Y, C))): + self.put(24, i * 10 + 1, text[:9], colour) + + # ---- rendering ---- + def svg(self, title): + out = ['', + f'{escape(title)}'] + out += margins(self) + out.append(f'') + out.append('') + for r, row in enumerate(self.cells): + c = 0 + while c < COLS: # background runs + colour = row[c]['bg']; s = c + while c < COLS and row[c]['bg'] == colour: c += 1 + if colour != K: + out.append(f'') + out.append('') + for r, row in enumerate(self.cells): + g = [f''] + for c, cell in enumerate(row): + if cell['hidden']: continue + x, y = X0 + c * CW, Y0 + r * CH + if cell['mos'] is not None: + yy = y + for band in range(3): + for half in range(2): + if cell['mos'] >> (band * 2 + half) & 1: + g.append(f'') + yy += SIX_H[band] + else: + g += glyph(cell['ch'], x, y, cell['fg'], 2 if cell['dh'] else 1) + g.append(''); out += g + out.append('') + return '\n'.join(out) + + +def glyph(ch, x, y, fg, scale): + rows = GLYPHS.get(ch, GLYPHS['?']).split('/') if GLYPHS.get(ch, '?') else [] + parts = [] + for gy, line in enumerate(rows): + gx = 0 + while gx < len(line): + if line[gx] == '#': + s = gx + while gx < len(line) and line[gx] == '#': gx += 1 + parts.append(f'') + else: gx += 1 + return parts + + +def margins(page): + t = lambda x, y, s, size, colour, weight=400, anchor='start': ( + f'{escape(s)}') + o = ['', + '', + # Left margin: the Orbit mark (ring and planet, as in orbit-wordmark.svg), the service name. + '', + '', + t(120, 240, 'Orbi-Fax', 38, 'white', 600, 'middle'), + f'', + t(120, 296, 'channel 000', 24, MUTED, 400, 'middle'), + t(120, 1000, 'Concept', 20, MUTED, 400, 'middle'), + # Right margin: the page you are on, and the remote. + t(1800, 128, f'P{page.number}', 56, FOCUS, 600, 'middle'), + t(1800, 168, page.sub or ' ', 26, MUTED, 400, 'middle')] + for i, (colour, label) in enumerate(((R, 'red'), (G, 'green'), (Y, 'yellow'), (C, 'cyan'))): + o.append(f'') + o += [t(1800, 1000, 'Key 3 figures', 22, MUTED, 400, 'middle'), + f'', ''] + return o + + +# ---- pixel art helpers (sixel coordinates) ---- +def canvas(w, h): return [[None] * w for _ in range(h)] + +MARK = [ # Orbit's mark (planet ring + orbit), redrawn by hand for 2x3 mosaics: 26 x 12 sixels + '..........................', + '..........YYYYYY.......WWW', + '........YYYY..YYYY...WWWW.', + '.......YYY......YYYWWW....', + '.......YY.......WWWWYY....', + '......YY.....WWWW....YY...', + '......YY..WWWW.......YY...', + '.......YWWWW........YY....', + '.....WWWWYY.......YYY.....', + '...WWWW..YYYY..YYYY.......', + '.WWWW......YYYYYY.........', + 'WWW.......................'] + +def orbit_mark(ring=Y, band=W): + return [[{'Y': ring, 'W': band}.get(ch) for ch in line] for line in MARK] + +def fill(pix, test, colour): + for y, row in enumerate(pix): + for x in range(len(row)): + if test(x, y): row[x] = colour + +def wizard(): + """An original, friendly wizard: 36 x 54 sixels (18 cols x 18 rows).""" + p = canvas(36, 54) + fill(p, lambda x, y: 26 <= y <= 53 and abs(x - 19) <= 7 + (y - 26) * 0.38, B) # robe + fill(p, lambda x, y: 4 <= y <= 17 and abs(x - (19 + (17 - y) * 0.25)) <= (y - 3) * 0.95, B) # hat + fill(p, lambda x, y: 0 <= y <= 5 and 21 + (5 - y) * 1.1 <= x <= 23.5 + (5 - y) * 1.1, B) # floppy tip + fill(p, lambda x, y: 16 <= y <= 18 and 6 <= x <= 32, Y) # brim + for sx_, sy_ in ((14, 12), (20, 6)): # hat stars, one whole cell each + fill(p, lambda x, y, a=sx_, b=sy_: a <= x <= a + 1 and b <= y <= b + 2, Y) + fill(p, lambda x, y: ((x - 19) / 7.5) ** 2 + ((y - 22.5) / 4.5) ** 2 <= 1, W) # face + fill(p, lambda x, y: 24 <= y <= 44 and abs(x - 19) <= (44 - y) * 0.48 + 1, W) # beard + fill(p, lambda x, y: y == 21 and x in (16, 22), None) # eyes + fill(p, lambda x, y: (y == 25 and x in (15, 23)) or (y == 26 and 16 <= x <= 22), None) # smile + fill(p, lambda x, y: 50 <= y <= 53 and (11 <= x <= 15 or 23 <= x <= 27), M) # shoes + fill(p, lambda x, y: 14 <= y <= 53 and 2 <= x <= 3, R) # staff + fill(p, lambda x, y: abs(x - 2.5) + abs(y - 10) <= 3, Y) # staff star + fill(p, lambda x, y: 30 <= y <= 35 and 6 <= x <= 13, B) # sleeve + fill(p, lambda x, y: 30 <= y <= 35 and 4 <= x <= 5, W) # hand on the staff + for sx_, sy_ in ((33, 3), (31, 28), (34, 40), (8, 2)): # sparkles + fill(p, lambda x, y, a=sx_, b=sy_: (x == a and abs(y - b) <= 1) or (y == b and abs(x - a) <= 1), C) + return p + + +# ---------------- pages ---------------- +def p100(): + p = Page(100); p.header() + for r in range(1, 5): p.bg(r, 0, COLS, B) + p.bitmap(1, 0, orbit_mark()) + p.put(1, 14, 'ORBI-FAX', Y, B, dh=True) + p.put(3, 14, "Orbit's own pages", W, B) + p.put(4, 14, 'Channel 000 opens Orbi-Fax', C, B) + p.rule(5, Y) + items = [('On Orbit Now', '500'), ("Tonight's Highlights", '510'), ('The Drive-In', '520'), + ('New In Your Library', '600'), ('Arcade Records', '700'), ('House and Rooms', '800')] + for i, (name, num) in enumerate(items): + r = 7 + i * 2 + p.put(r, 2, name, Y) + p.put(r, 3 + len(name), ' ' + '.' * (33 - len(name) - 3), B) + p.put(r, 36, num, W) + p.rule(19, B) + p.put(20, 2, 'Coming later', W) + p.put(21, 2, 'News 101', B) + p.put(21, 14, 'Sport 300', B); p.put(21, 27, 'Weather 400', B) + p.put(23, 2, 'Key a page number on your remote', C) + p.fastext(['On Now', 'Arcade', 'Drive-In', 'Rooms']) + return p + +def p501(): + p = Page(501, '1/4'); p.header(clock='18:02:47') + p.put(1, 1, 'ON ORBIT NOW', Y, dh=True) + p.put(1, 36, '1/4', W) + p.put(3, 1, 'Sun 08 Nov', W); p.put(3, 24, 'NOW', W); p.put(3, 28, 'then', W); p.put(3, 33, 'NEXT', C) + p.rule(4, Y) + listings = [('101', 'Orbit 1', ('18:00', 'Harbour Lights'), ('19:00', 'Kitchen Table Quiz')), + ('102', 'Orbit 2', ('17:45', 'Wild Coast Rescue'), ('18:45', 'The Allotment')), + ('103', 'Orbit Three', ('18:10', 'Flatmates'), ('18:35', 'Flatmates')), + ('104', 'Orbit Gold', ('17:30', 'Last Orders'), ('18:00', 'Mind the Shop')), + ('105', 'Orbit Riot', ('18:00', 'Stand-Up Shuffle'), ('19:00', 'Late Laughs')), + ('109', 'Orbit Signature', ('17:15', 'The Last Shuttle Home'), ('18:55', 'Beyond the Blue'))] + for i, (num, name, now, nxt) in enumerate(listings): + r = 5 + i * 3 + p.bg(r, 0, COLS, B) + p.put(r, 1, num, W, B); p.put(r, 5, name, Y, B) + p.put(r + 1, 2, now[0], W); p.put(r + 1, 8, now[1], W) + p.put(r + 2, 2, nxt[0], C); p.put(r + 2, 8, nxt[1], C) + p.put(23, 1, 'More channels on 502', W); p.put(23, 36, '>>', Y) + p.fastext(['Index', 'Tonight', 'Drive-In', 'Next ch']) + return p + +def p700(): + p = Page(700, '1/2'); p.header(clock='18:04:12') + p.put(1, 1, 'ARCADE RECORDS', Y, dh=True) + p.put(1, 36, '1/2', W) + p.put(3, 1, 'Top scores on this TV, by profile', C) + p.rule(4, Y) + games = [('Star Chase', Y, [('PAU', '12,480'), ('KID', '9,950'), ('GST', '4,120')]), + ('Comet Trail', G, [('KID', '318'), ('PAU', '276'), ('GST', '91')]), + ('Block Drop', C, [('PAU', '41,200'), ('GST', '22,050'), ('KID', '8,700')]), + ('Brick Break', R, [('KID', '6,340'), ('PAU', '5,980'), ('GST', '2,210')]), + ('Blast Off', M, [('PAU', '3,870'), ('KID', '3,105'), ('GST', '960')])] + for i, (name, colour, top) in enumerate(games): + r = 5 + i * 3 + p.put(r, 1, name.upper(), colour) + for k, (who, score) in enumerate(top): + c = 1 + k * 13 + p.put(r + 1, c, str(k + 1), Y); p.put(r + 1, c + 2, who, C); p.put(r + 1, c + 6, score.rjust(6), W) + p.rule(20, B) + p.put(21, 1, 'Page 2/2: Skydoku, BumbleHive, Pairs', W) + p.put(22, 1, 'and Patience', W) + p.put(23, 1, 'Beat a record in the Orbit Arcade', C) + p.fastext(['Index', 'Page 2/2', 'On Now', 'Rooms']) + return p + +def p999(): + p = Page(999); p.header(clock='18:06:58') + p.bitmap(2, 1, wizard()) + p.rule(1, C, 19, 40, bits=0b110000) + p.rule(12, C, 19, 40, bits=0b000011) + lines = [('You have gone', W), ('too far, young', W), ('traveller.', W), ('Return at once!', Y)] + for i, (text, colour) in enumerate(lines): + p.put(3 + i * 2, 21, text, colour, dh=True) + p.put(14, 21, 'This page is past', C) + p.put(15, 21, 'the edge of', C) + p.put(16, 21, 'Orbi-Fax.', C) + p.put(18, 21, 'Key 100 to fly', W) + p.put(19, 21, 'home to the index.', W) + p.put(22, 1, "P999 The wizard's corner", M) + p.fastext(['Index', 'Arcade', 'On Now', 'Rooms']) + return p + + +def mark_svg(): + """The Orbi-Fax mosaic mark on its own, for VectorCraft.""" + pix = orbit_mark(); parts = ['', + 'Orbi-Fax mosaic mark'] + tmp = Page(0); tmp.bitmap(0, 0, pix) + for r in range(4): + for c in range(13): + cell = tmp.cells[r][c] + if cell['mos'] is None: continue + yy = r * CH + for band in range(3): + for half in range(2): + if cell['mos'] >> (band * 2 + half) & 1: + parts.append(f'') + yy += SIX_H[band] + parts.append('') + return '\n'.join(parts) + + +if __name__ == '__main__': + pages = {'orbi-fax-p100-index': (p100(), 'Orbi-Fax P100 index'), + 'orbi-fax-p501-now-next': (p501(), 'Orbi-Fax P501 now and next'), + 'orbi-fax-p700-arcade-records': (p700(), 'Orbi-Fax P700 Arcade records'), + 'orbi-fax-p999-wizard': (p999(), 'Orbi-Fax P999 wizard')} + for name, (page, title) in pages.items(): + (OUT / f'{name}.svg').write_text(page.svg(title)) + # Plain 40x25 text dump, for checking the grid and for copy. + (OUT / f'{name}.txt').write_text('\n'.join(''.join(c['ch'] if c['mos'] is None else '#' for c in row) for row in page.cells) + '\n') + (OUT / 'orbi-fax-mark.svg').write_text(mark_svg()) + print('wrote', len(pages), 'pages and the mark') diff --git a/design/orbi-fax/export-kotlin-art.py b/design/orbi-fax/export-kotlin-art.py new file mode 100644 index 00000000..67c2dd9a --- /dev/null +++ b/design/orbi-fax/export-kotlin-art.py @@ -0,0 +1,35 @@ +"""Writes OrbiFaxArt.kt (the dot-matrix glyphs, the Orbit mosaic mark and the P999 wizard) from build-orbi-fax.py, +so the app draws exactly what the concept previews show. Run from this folder: python3 export-kotlin-art.py""" +import importlib.util +from pathlib import Path +spec = importlib.util.spec_from_file_location('b', Path(__file__).with_name('build-orbi-fax.py')); b = importlib.util.module_from_spec(spec); spec.loader.exec_module(b) +OUT = Path(__file__).parents[2] / 'android/app/src/main/java/tv/orbit/classic/OrbiFaxArt.kt' +B32 = '0123456789ABCDEFGHIJKLMNOPQRSTUV' +COLOUR = {b.K: 0, b.R: 1, b.G: 2, b.Y: 3, b.B: 4, b.M: 5, b.C: 6, b.W: 7} +glyphs = [] +for code in range(32, 127): + rows = (b.GLYPHS.get(chr(code)) or '').split('/') if b.GLYPHS.get(chr(code)) else [] + rows += ['.....'] * (9 - len(rows)) + glyphs.append(''.join(B32[sum(1 << (4 - i) for i, ch in enumerate(r) if ch == '#')] for r in rows)) +def cells(pix): + page = b.Page(0); page.bitmap(0, 0, pix) + h, w = -(-len(pix) // 3), -(-len(pix[0]) // 2) + return [''.join(f"{COLOUR[c['fg']]}{c['mos']:02x}" if c['mos'] is not None else '000' for c in page.cells[r][:w]) for r in range(h)] +def kt_rows(rows): return ',\n'.join(f' "{r}"' for r in rows) +OUT.write_text(f'''package tv.orbit.classic + +// Generated by design/orbi-fax/export-kotlin-art.py from the Orbi-Fax concept (8 November 2026). Don't edit by hand. + +/** The dot-matrix glyphs for ASCII 32 to 126: nine rows of five dots each, one base-32 digit a row (bit 4 is the left dot). */ +internal const val ORBI_FAX_GLYPHS = + "{''.join(glyphs)}" + +/** Orbit's mark as 2x3 mosaics, 13 x 4 cells: per cell a colour digit (teletext order) then the six sixel bits in hex. */ +internal val ORBI_FAX_MARK = arrayOf( +{kt_rows(cells(b.orbit_mark()))}) + +/** The P999 wizard, original to Orbit, 18 x 18 cells in the same form. */ +internal val ORBI_FAX_WIZARD = arrayOf( +{kt_rows(cells(b.wizard()))}) +''') +print('wrote', OUT) diff --git a/design/orbi-fax/orbi-fax-guide-text-entry.figcraft b/design/orbi-fax/orbi-fax-guide-text-entry.figcraft new file mode 100644 index 00000000..d4e45ae0 Binary files /dev/null and b/design/orbi-fax/orbi-fax-guide-text-entry.figcraft differ diff --git a/design/orbi-fax/orbi-fax-guide-text-entry.png b/design/orbi-fax/orbi-fax-guide-text-entry.png new file mode 100644 index 00000000..cf493011 Binary files /dev/null and b/design/orbi-fax/orbi-fax-guide-text-entry.png differ diff --git a/design/orbi-fax/orbi-fax-guide-text-entry.svg b/design/orbi-fax/orbi-fax-guide-text-entry.svg new file mode 100644 index 00000000..52db3f17 --- /dev/null +++ b/design/orbi-fax/orbi-fax-guide-text-entry.svg @@ -0,0 +1,74 @@ + +Orbi-Fax Text entry in the TV guide + +Home +Guide + +What's On +Catch Up +Drive-In +Arcade + +All Channels + +Entertainment + +Movies + +Comedy + +Cartoons + +Text +Text opens Orbi-Fax, page 100 + +ORBI-FAX +Orbit’s own teletext +Now and next, tonight’s highlights, the Drive-In, +new in your library and Arcade records. Also on channel 000. + +P100 ORBI-FAX 100 + +On Orbit Now 500 +Tonight's Highlights 510 +The Drive-In 520 +Arcade Records 700 + +All Channels, today +18:00 +18:30 +19:00 +19:30 + +101 +Orbit 1 + +Harbour Lights + +Kitchen Table Quiz + +102 +Orbit 2 + +Wild Coast Rescue + +The Allotment + +103 +Orbit Three + +Flatmates + +Flatmates + +Night Shift + +104 +Orbit Gold + +Last Orders + +Mind the Shop +▲▼ Channel ◄► Time OK on Text opens Orbi-Fax Back returns here +Concept, placeholder titles + \ No newline at end of file diff --git a/design/orbi-fax/orbi-fax-mark.png b/design/orbi-fax/orbi-fax-mark.png new file mode 100644 index 00000000..643f5d47 Binary files /dev/null and b/design/orbi-fax/orbi-fax-mark.png differ diff --git a/design/orbi-fax/orbi-fax-mark.svg b/design/orbi-fax/orbi-fax-mark.svg new file mode 100644 index 00000000..d3d4f5d3 --- /dev/null +++ b/design/orbi-fax/orbi-fax-mark.svg @@ -0,0 +1,89 @@ + +Orbi-Fax mosaic mark + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/design/orbi-fax/orbi-fax-mark.vectorcraft b/design/orbi-fax/orbi-fax-mark.vectorcraft new file mode 100644 index 00000000..028d722c --- /dev/null +++ b/design/orbi-fax/orbi-fax-mark.vectorcraft @@ -0,0 +1,5761 @@ +{ + "format": "vectorcraft", + "version": 4, + "generator": "VectorCraft 0.22.0", + "document": { + "version": 3, + "title": "orbi-fax-mark.svg", + "units": "Pixels", + "rulers": "artboard", + "color_mode": "Rgb", + "artboards": [ + { + "id": 1, + "name": "Artboard 1", + "rect": { + "x0": 0.0, + "y0": 0.0, + "x1": 468.0, + "y1": 160.0 + }, + "show_center_mark": false, + "show_cross_hairs": false + } + ], + "layers": [ + { + "id": 1, + "name": "Layer 1", + "kind": { + "type": "layer", + "color": { + "Preset": 0 + }, + "template": false, + "printable": true, + "children": [ + { + "id": 2, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.0, + "g": 0.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 0.0, + 0.0 + ] + }, + { + "p": [ + 468.0, + 0.0 + ] + }, + { + "p": [ + 468.0, + 160.0 + ] + }, + { + "p": [ + 0.0, + 160.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 3, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 144.0, + 27.0 + ] + }, + { + "p": [ + 162.0, + 27.0 + ] + }, + { + "p": [ + 162.0, + 40.0 + ] + }, + { + "p": [ + 144.0, + 40.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 4, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 162.0, + 27.0 + ] + }, + { + "p": [ + 180.0, + 27.0 + ] + }, + { + "p": [ + 180.0, + 40.0 + ] + }, + { + "p": [ + 162.0, + 40.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 5, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 180.0, + 13.0 + ] + }, + { + "p": [ + 198.0, + 13.0 + ] + }, + { + "p": [ + 198.0, + 27.0 + ] + }, + { + "p": [ + 180.0, + 27.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 6, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 198.0, + 13.0 + ] + }, + { + "p": [ + 216.0, + 13.0 + ] + }, + { + "p": [ + 216.0, + 27.0 + ] + }, + { + "p": [ + 198.0, + 27.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 7, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 180.0, + 27.0 + ] + }, + { + "p": [ + 198.0, + 27.0 + ] + }, + { + "p": [ + 198.0, + 40.0 + ] + }, + { + "p": [ + 180.0, + 40.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 8, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 198.0, + 27.0 + ] + }, + { + "p": [ + 216.0, + 27.0 + ] + }, + { + "p": [ + 216.0, + 40.0 + ] + }, + { + "p": [ + 198.0, + 40.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 9, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 216.0, + 13.0 + ] + }, + { + "p": [ + 234.0, + 13.0 + ] + }, + { + "p": [ + 234.0, + 27.0 + ] + }, + { + "p": [ + 216.0, + 27.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 10, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 234.0, + 13.0 + ] + }, + { + "p": [ + 252.0, + 13.0 + ] + }, + { + "p": [ + 252.0, + 27.0 + ] + }, + { + "p": [ + 234.0, + 27.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 11, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 252.0, + 13.0 + ] + }, + { + "p": [ + 270.0, + 13.0 + ] + }, + { + "p": [ + 270.0, + 27.0 + ] + }, + { + "p": [ + 252.0, + 27.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 12, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 270.0, + 13.0 + ] + }, + { + "p": [ + 288.0, + 13.0 + ] + }, + { + "p": [ + 288.0, + 27.0 + ] + }, + { + "p": [ + 270.0, + 27.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 13, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 252.0, + 27.0 + ] + }, + { + "p": [ + 270.0, + 27.0 + ] + }, + { + "p": [ + 270.0, + 40.0 + ] + }, + { + "p": [ + 252.0, + 40.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 14, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 270.0, + 27.0 + ] + }, + { + "p": [ + 288.0, + 27.0 + ] + }, + { + "p": [ + 288.0, + 40.0 + ] + }, + { + "p": [ + 270.0, + 40.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 15, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 288.0, + 27.0 + ] + }, + { + "p": [ + 306.0, + 27.0 + ] + }, + { + "p": [ + 306.0, + 40.0 + ] + }, + { + "p": [ + 288.0, + 40.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 16, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 306.0, + 27.0 + ] + }, + { + "p": [ + 324.0, + 27.0 + ] + }, + { + "p": [ + 324.0, + 40.0 + ] + }, + { + "p": [ + 306.0, + 40.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 17, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 378.0, + 27.0 + ] + }, + { + "p": [ + 396.0, + 27.0 + ] + }, + { + "p": [ + 396.0, + 40.0 + ] + }, + { + "p": [ + 378.0, + 40.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 18, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 414.0, + 13.0 + ] + }, + { + "p": [ + 432.0, + 13.0 + ] + }, + { + "p": [ + 432.0, + 27.0 + ] + }, + { + "p": [ + 414.0, + 27.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 19, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 396.0, + 27.0 + ] + }, + { + "p": [ + 414.0, + 27.0 + ] + }, + { + "p": [ + 414.0, + 40.0 + ] + }, + { + "p": [ + 396.0, + 40.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 20, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 414.0, + 27.0 + ] + }, + { + "p": [ + 432.0, + 27.0 + ] + }, + { + "p": [ + 432.0, + 40.0 + ] + }, + { + "p": [ + 414.0, + 40.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 21, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 432.0, + 13.0 + ] + }, + { + "p": [ + 450.0, + 13.0 + ] + }, + { + "p": [ + 450.0, + 27.0 + ] + }, + { + "p": [ + 432.0, + 27.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 22, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 450.0, + 13.0 + ] + }, + { + "p": [ + 468.0, + 13.0 + ] + }, + { + "p": [ + 468.0, + 27.0 + ] + }, + { + "p": [ + 450.0, + 27.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 23, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 432.0, + 27.0 + ] + }, + { + "p": [ + 450.0, + 27.0 + ] + }, + { + "p": [ + 450.0, + 40.0 + ] + }, + { + "p": [ + 432.0, + 40.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 24, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 126.0, + 40.0 + ] + }, + { + "p": [ + 144.0, + 40.0 + ] + }, + { + "p": [ + 144.0, + 53.0 + ] + }, + { + "p": [ + 126.0, + 53.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 25, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 126.0, + 53.0 + ] + }, + { + "p": [ + 144.0, + 53.0 + ] + }, + { + "p": [ + 144.0, + 67.0 + ] + }, + { + "p": [ + 126.0, + 67.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 26, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 108.0, + 67.0 + ] + }, + { + "p": [ + 126.0, + 67.0 + ] + }, + { + "p": [ + 126.0, + 80.0 + ] + }, + { + "p": [ + 108.0, + 80.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 27, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 126.0, + 67.0 + ] + }, + { + "p": [ + 144.0, + 67.0 + ] + }, + { + "p": [ + 144.0, + 80.0 + ] + }, + { + "p": [ + 126.0, + 80.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 28, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 144.0, + 40.0 + ] + }, + { + "p": [ + 162.0, + 40.0 + ] + }, + { + "p": [ + 162.0, + 53.0 + ] + }, + { + "p": [ + 144.0, + 53.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 29, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 162.0, + 40.0 + ] + }, + { + "p": [ + 180.0, + 40.0 + ] + }, + { + "p": [ + 180.0, + 53.0 + ] + }, + { + "p": [ + 162.0, + 53.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 30, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 144.0, + 53.0 + ] + }, + { + "p": [ + 162.0, + 53.0 + ] + }, + { + "p": [ + 162.0, + 67.0 + ] + }, + { + "p": [ + 144.0, + 67.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 31, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 234.0, + 67.0 + ] + }, + { + "p": [ + 252.0, + 67.0 + ] + }, + { + "p": [ + 252.0, + 80.0 + ] + }, + { + "p": [ + 234.0, + 80.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 32, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 252.0, + 67.0 + ] + }, + { + "p": [ + 270.0, + 67.0 + ] + }, + { + "p": [ + 270.0, + 80.0 + ] + }, + { + "p": [ + 252.0, + 80.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 33, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 270.0, + 67.0 + ] + }, + { + "p": [ + 288.0, + 67.0 + ] + }, + { + "p": [ + 288.0, + 80.0 + ] + }, + { + "p": [ + 270.0, + 80.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 34, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 288.0, + 53.0 + ] + }, + { + "p": [ + 306.0, + 53.0 + ] + }, + { + "p": [ + 306.0, + 67.0 + ] + }, + { + "p": [ + 288.0, + 67.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 35, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 306.0, + 53.0 + ] + }, + { + "p": [ + 324.0, + 53.0 + ] + }, + { + "p": [ + 324.0, + 67.0 + ] + }, + { + "p": [ + 306.0, + 67.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 36, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 288.0, + 67.0 + ] + }, + { + "p": [ + 306.0, + 67.0 + ] + }, + { + "p": [ + 306.0, + 80.0 + ] + }, + { + "p": [ + 288.0, + 80.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 37, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 342.0, + 40.0 + ] + }, + { + "p": [ + 360.0, + 40.0 + ] + }, + { + "p": [ + 360.0, + 53.0 + ] + }, + { + "p": [ + 342.0, + 53.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 38, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 324.0, + 53.0 + ] + }, + { + "p": [ + 342.0, + 53.0 + ] + }, + { + "p": [ + 342.0, + 67.0 + ] + }, + { + "p": [ + 324.0, + 67.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 39, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 342.0, + 53.0 + ] + }, + { + "p": [ + 360.0, + 53.0 + ] + }, + { + "p": [ + 360.0, + 67.0 + ] + }, + { + "p": [ + 342.0, + 67.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 40, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 360.0, + 53.0 + ] + }, + { + "p": [ + 378.0, + 53.0 + ] + }, + { + "p": [ + 378.0, + 67.0 + ] + }, + { + "p": [ + 360.0, + 67.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 41, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 378.0, + 53.0 + ] + }, + { + "p": [ + 396.0, + 53.0 + ] + }, + { + "p": [ + 396.0, + 67.0 + ] + }, + { + "p": [ + 378.0, + 67.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 42, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 378.0, + 67.0 + ] + }, + { + "p": [ + 396.0, + 67.0 + ] + }, + { + "p": [ + 396.0, + 80.0 + ] + }, + { + "p": [ + 378.0, + 80.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 43, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 396.0, + 67.0 + ] + }, + { + "p": [ + 414.0, + 67.0 + ] + }, + { + "p": [ + 414.0, + 80.0 + ] + }, + { + "p": [ + 396.0, + 80.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 44, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 90.0, + 107.0 + ] + }, + { + "p": [ + 108.0, + 107.0 + ] + }, + { + "p": [ + 108.0, + 120.0 + ] + }, + { + "p": [ + 90.0, + 120.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 45, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 108.0, + 80.0 + ] + }, + { + "p": [ + 126.0, + 80.0 + ] + }, + { + "p": [ + 126.0, + 93.0 + ] + }, + { + "p": [ + 108.0, + 93.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 46, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 126.0, + 80.0 + ] + }, + { + "p": [ + 144.0, + 80.0 + ] + }, + { + "p": [ + 144.0, + 93.0 + ] + }, + { + "p": [ + 126.0, + 93.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 47, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 126.0, + 93.0 + ] + }, + { + "p": [ + 144.0, + 93.0 + ] + }, + { + "p": [ + 144.0, + 107.0 + ] + }, + { + "p": [ + 126.0, + 107.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 48, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 144.0, + 93.0 + ] + }, + { + "p": [ + 162.0, + 93.0 + ] + }, + { + "p": [ + 162.0, + 107.0 + ] + }, + { + "p": [ + 144.0, + 107.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 49, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 162.0, + 93.0 + ] + }, + { + "p": [ + 180.0, + 93.0 + ] + }, + { + "p": [ + 180.0, + 107.0 + ] + }, + { + "p": [ + 162.0, + 107.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 50, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 144.0, + 107.0 + ] + }, + { + "p": [ + 162.0, + 107.0 + ] + }, + { + "p": [ + 162.0, + 120.0 + ] + }, + { + "p": [ + 144.0, + 120.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 51, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 180.0, + 80.0 + ] + }, + { + "p": [ + 198.0, + 80.0 + ] + }, + { + "p": [ + 198.0, + 93.0 + ] + }, + { + "p": [ + 180.0, + 93.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 52, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 198.0, + 80.0 + ] + }, + { + "p": [ + 216.0, + 80.0 + ] + }, + { + "p": [ + 216.0, + 93.0 + ] + }, + { + "p": [ + 198.0, + 93.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 53, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 180.0, + 93.0 + ] + }, + { + "p": [ + 198.0, + 93.0 + ] + }, + { + "p": [ + 198.0, + 107.0 + ] + }, + { + "p": [ + 180.0, + 107.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 54, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 198.0, + 93.0 + ] + }, + { + "p": [ + 216.0, + 93.0 + ] + }, + { + "p": [ + 216.0, + 107.0 + ] + }, + { + "p": [ + 198.0, + 107.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 55, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 216.0, + 80.0 + ] + }, + { + "p": [ + 234.0, + 80.0 + ] + }, + { + "p": [ + 234.0, + 93.0 + ] + }, + { + "p": [ + 216.0, + 93.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 56, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 234.0, + 80.0 + ] + }, + { + "p": [ + 252.0, + 80.0 + ] + }, + { + "p": [ + 252.0, + 93.0 + ] + }, + { + "p": [ + 234.0, + 93.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 57, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 324.0, + 107.0 + ] + }, + { + "p": [ + 342.0, + 107.0 + ] + }, + { + "p": [ + 342.0, + 120.0 + ] + }, + { + "p": [ + 324.0, + 120.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 58, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 342.0, + 107.0 + ] + }, + { + "p": [ + 360.0, + 107.0 + ] + }, + { + "p": [ + 360.0, + 120.0 + ] + }, + { + "p": [ + 342.0, + 120.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 59, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 378.0, + 80.0 + ] + }, + { + "p": [ + 396.0, + 80.0 + ] + }, + { + "p": [ + 396.0, + 93.0 + ] + }, + { + "p": [ + 378.0, + 93.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 60, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 360.0, + 93.0 + ] + }, + { + "p": [ + 378.0, + 93.0 + ] + }, + { + "p": [ + 378.0, + 107.0 + ] + }, + { + "p": [ + 360.0, + 107.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 61, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 378.0, + 93.0 + ] + }, + { + "p": [ + 396.0, + 93.0 + ] + }, + { + "p": [ + 396.0, + 107.0 + ] + }, + { + "p": [ + 378.0, + 107.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 62, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 360.0, + 107.0 + ] + }, + { + "p": [ + 378.0, + 107.0 + ] + }, + { + "p": [ + 378.0, + 120.0 + ] + }, + { + "p": [ + 360.0, + 120.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 63, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 396.0, + 80.0 + ] + }, + { + "p": [ + 414.0, + 80.0 + ] + }, + { + "p": [ + 414.0, + 93.0 + ] + }, + { + "p": [ + 396.0, + 93.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 64, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 18.0, + 133.0 + ] + }, + { + "p": [ + 36.0, + 133.0 + ] + }, + { + "p": [ + 36.0, + 147.0 + ] + }, + { + "p": [ + 18.0, + 147.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 65, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 0.0, + 147.0 + ] + }, + { + "p": [ + 18.0, + 147.0 + ] + }, + { + "p": [ + 18.0, + 160.0 + ] + }, + { + "p": [ + 0.0, + 160.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 66, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 18.0, + 147.0 + ] + }, + { + "p": [ + 36.0, + 147.0 + ] + }, + { + "p": [ + 36.0, + 160.0 + ] + }, + { + "p": [ + 18.0, + 160.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 67, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 54.0, + 120.0 + ] + }, + { + "p": [ + 72.0, + 120.0 + ] + }, + { + "p": [ + 72.0, + 133.0 + ] + }, + { + "p": [ + 54.0, + 133.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 68, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 36.0, + 133.0 + ] + }, + { + "p": [ + 54.0, + 133.0 + ] + }, + { + "p": [ + 54.0, + 147.0 + ] + }, + { + "p": [ + 36.0, + 147.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 69, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 54.0, + 133.0 + ] + }, + { + "p": [ + 72.0, + 133.0 + ] + }, + { + "p": [ + 72.0, + 147.0 + ] + }, + { + "p": [ + 54.0, + 147.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 70, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 36.0, + 147.0 + ] + }, + { + "p": [ + 54.0, + 147.0 + ] + }, + { + "p": [ + 54.0, + 160.0 + ] + }, + { + "p": [ + 36.0, + 160.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 71, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 72.0, + 120.0 + ] + }, + { + "p": [ + 90.0, + 120.0 + ] + }, + { + "p": [ + 90.0, + 133.0 + ] + }, + { + "p": [ + 72.0, + 133.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 72, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 90.0, + 120.0 + ] + }, + { + "p": [ + 108.0, + 120.0 + ] + }, + { + "p": [ + 108.0, + 133.0 + ] + }, + { + "p": [ + 90.0, + 133.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 73, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 72.0, + 133.0 + ] + }, + { + "p": [ + 90.0, + 133.0 + ] + }, + { + "p": [ + 90.0, + 147.0 + ] + }, + { + "p": [ + 72.0, + 147.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 74, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 108.0, + 120.0 + ] + }, + { + "p": [ + 126.0, + 120.0 + ] + }, + { + "p": [ + 126.0, + 133.0 + ] + }, + { + "p": [ + 108.0, + 133.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 75, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 162.0, + 120.0 + ] + }, + { + "p": [ + 180.0, + 120.0 + ] + }, + { + "p": [ + 180.0, + 133.0 + ] + }, + { + "p": [ + 162.0, + 133.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 76, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 180.0, + 120.0 + ] + }, + { + "p": [ + 198.0, + 120.0 + ] + }, + { + "p": [ + 198.0, + 133.0 + ] + }, + { + "p": [ + 180.0, + 133.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 77, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 198.0, + 120.0 + ] + }, + { + "p": [ + 216.0, + 120.0 + ] + }, + { + "p": [ + 216.0, + 133.0 + ] + }, + { + "p": [ + 198.0, + 133.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 78, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 198.0, + 133.0 + ] + }, + { + "p": [ + 216.0, + 133.0 + ] + }, + { + "p": [ + 216.0, + 147.0 + ] + }, + { + "p": [ + 198.0, + 147.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 79, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 216.0, + 120.0 + ] + }, + { + "p": [ + 234.0, + 120.0 + ] + }, + { + "p": [ + 234.0, + 133.0 + ] + }, + { + "p": [ + 216.0, + 133.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 80, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 216.0, + 133.0 + ] + }, + { + "p": [ + 234.0, + 133.0 + ] + }, + { + "p": [ + 234.0, + 147.0 + ] + }, + { + "p": [ + 216.0, + 147.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 81, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 234.0, + 133.0 + ] + }, + { + "p": [ + 252.0, + 133.0 + ] + }, + { + "p": [ + 252.0, + 147.0 + ] + }, + { + "p": [ + 234.0, + 147.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 82, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 270.0, + 120.0 + ] + }, + { + "p": [ + 288.0, + 120.0 + ] + }, + { + "p": [ + 288.0, + 133.0 + ] + }, + { + "p": [ + 270.0, + 133.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 83, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 252.0, + 133.0 + ] + }, + { + "p": [ + 270.0, + 133.0 + ] + }, + { + "p": [ + 270.0, + 147.0 + ] + }, + { + "p": [ + 252.0, + 147.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 84, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 270.0, + 133.0 + ] + }, + { + "p": [ + 288.0, + 133.0 + ] + }, + { + "p": [ + 288.0, + 147.0 + ] + }, + { + "p": [ + 270.0, + 147.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 85, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 288.0, + 120.0 + ] + }, + { + "p": [ + 306.0, + 120.0 + ] + }, + { + "p": [ + 306.0, + 133.0 + ] + }, + { + "p": [ + 288.0, + 133.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 86, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 306.0, + 120.0 + ] + }, + { + "p": [ + 324.0, + 120.0 + ] + }, + { + "p": [ + 324.0, + 133.0 + ] + }, + { + "p": [ + 306.0, + 133.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 87, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 288.0, + 133.0 + ] + }, + { + "p": [ + 306.0, + 133.0 + ] + }, + { + "p": [ + 306.0, + 147.0 + ] + }, + { + "p": [ + 288.0, + 147.0 + ] + } + ], + "closed": true + } + ] + } + } + }, + { + "id": 88, + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 0.0 + } + } + } + ] + }, + "kind": { + "type": "path", + "path": { + "subpaths": [ + { + "anchors": [ + { + "p": [ + 324.0, + 120.0 + ] + }, + { + "p": [ + 342.0, + 120.0 + ] + }, + { + "p": [ + 342.0, + 133.0 + ] + }, + { + "p": [ + 324.0, + 133.0 + ] + } + ], + "closed": true + } + ] + } + } + } + ] + } + } + ], + "swatches": [ + { + "name": "[None]", + "paint": { + "type": "none" + }, + "global": false, + "spot": false + }, + { + "name": "White", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + }, + "global": false, + "spot": false + }, + { + "name": "Black", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.0, + "g": 0.0, + "b": 0.0 + } + }, + "global": false, + "spot": false + }, + { + "name": "Red", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.92941177, + "g": 0.10980392, + "b": 0.14117648 + } + }, + "global": false, + "spot": false + }, + { + "name": "Orange Red", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.94509804, + "g": 0.3529412, + "b": 0.14117648 + } + }, + "global": false, + "spot": false + }, + { + "name": "Orange", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.96862745, + "g": 0.5764706, + "b": 0.11764706 + } + }, + "global": false, + "spot": false + }, + { + "name": "Amber", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.9843137, + "g": 0.6901961, + "b": 0.23137255 + } + }, + "global": false, + "spot": false + }, + { + "name": "Yellow", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.9882353, + "g": 0.93333334, + "b": 0.12941177 + } + }, + "global": false, + "spot": false + }, + { + "name": "Yellow Green", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.8509804, + "g": 0.8784314, + "b": 0.12941177 + } + }, + "global": false, + "spot": false + }, + { + "name": "Lime", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.54901963, + "g": 0.7764706, + "b": 0.24705882 + } + }, + "global": false, + "spot": false + }, + { + "name": "Green", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.22352941, + "g": 0.70980394, + "b": 0.2901961 + } + }, + "global": false, + "spot": false + }, + { + "name": "Emerald", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.0, + "g": 0.57254905, + "b": 0.27058825 + } + }, + "global": false, + "spot": false + }, + { + "name": "Teal", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.0, + "g": 0.40784314, + "b": 0.21568628 + } + }, + "global": false, + "spot": false + }, + { + "name": "Aqua", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.13333334, + "g": 0.70980394, + "b": 0.4509804 + } + }, + "global": false, + "spot": false + }, + { + "name": "Cyan Green", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.0, + "g": 0.6627451, + "b": 0.6156863 + } + }, + "global": false, + "spot": false + }, + { + "name": "Cyan", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.16078432, + "g": 0.67058825, + "b": 0.8862745 + } + }, + "global": false, + "spot": false + }, + { + "name": "Azure", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.0, + "g": 0.44313726, + "b": 0.7372549 + } + }, + "global": false, + "spot": false + }, + { + "name": "Blue", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.18039216, + "g": 0.19215687, + "b": 0.57254905 + } + }, + "global": false, + "spot": false + }, + { + "name": "Indigo", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.105882354, + "g": 0.078431375, + "b": 0.39215687 + } + }, + "global": false, + "spot": false + }, + { + "name": "Violet", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.4, + "g": 0.1764706, + "b": 0.5686275 + } + }, + "global": false, + "spot": false + }, + { + "name": "Purple", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.5764706, + "g": 0.15294118, + "b": 0.56078434 + } + }, + "global": false, + "spot": false + }, + { + "name": "Magenta", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.61960787, + "g": 0.0, + "b": 0.3647059 + } + }, + "global": false, + "spot": false + }, + { + "name": "Rose", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.83137256, + "g": 0.078431375, + "b": 0.3529412 + } + }, + "global": false, + "spot": false + }, + { + "name": "Pink", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.92941177, + "g": 0.11764706, + "b": 0.4745098 + } + }, + "global": false, + "spot": false + }, + { + "name": "Brown", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.78039217, + "g": 0.69803923, + "b": 0.6 + } + }, + "global": false, + "spot": false + }, + { + "name": "Tan", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.6, + "g": 0.5254902, + "b": 0.45882353 + } + }, + "global": false, + "spot": false + }, + { + "name": "Coffee", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.4509804, + "g": 0.3882353, + "b": 0.34117648 + } + }, + "global": false, + "spot": false + }, + { + "name": "Chocolate", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.3254902, + "g": 0.2784314, + "b": 0.25490198 + } + }, + "global": false, + "spot": false + }, + { + "name": "Sand", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.7764706, + "g": 0.6117647, + "b": 0.42745098 + } + }, + "global": false, + "spot": false + }, + { + "name": "Copper", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.6509804, + "g": 0.4862745, + "b": 0.32156864 + } + }, + "global": false, + "spot": false + }, + { + "name": "Rust", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.54901963, + "g": 0.38431373, + "b": 0.22352941 + } + }, + "global": false, + "spot": false + }, + { + "name": "Walnut", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.45882353, + "g": 0.29803923, + "b": 0.14117648 + } + }, + "global": false, + "spot": false + }, + { + "name": "Espresso", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.3764706, + "g": 0.21960784, + "b": 0.07450981 + } + }, + "global": false, + "spot": false + }, + { + "name": "White, Black", + "paint": { + "type": "gradient", + "gradient": { + "kind": "Linear", + "stops": [ + { + "offset": 0.0, + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + }, + "opacity": 1.0, + "midpoint": 0.5 + }, + { + "offset": 1.0, + "color": { + "model": "rgb", + "r": 0.0, + "g": 0.0, + "b": 0.0 + }, + "opacity": 1.0, + "midpoint": 0.5 + } + ] + }, + "angle": 0.0 + }, + "global": false, + "spot": false + }, + { + "name": "Radial White, Black", + "paint": { + "type": "gradient", + "gradient": { + "kind": "Radial", + "stops": [ + { + "offset": 0.0, + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + }, + "opacity": 1.0, + "midpoint": 0.5 + }, + { + "offset": 1.0, + "color": { + "model": "rgb", + "r": 0.0, + "g": 0.0, + "b": 0.0 + }, + "opacity": 1.0, + "midpoint": 0.5 + } + ] + }, + "angle": 0.0 + }, + "global": false, + "spot": false + }, + { + "name": "Sunset", + "paint": { + "type": "gradient", + "gradient": { + "kind": "Linear", + "stops": [ + { + "offset": 0.0, + "color": { + "model": "rgb", + "r": 0.9843137, + "g": 0.6901961, + "b": 0.23137255 + }, + "opacity": 1.0, + "midpoint": 0.5 + }, + { + "offset": 1.0, + "color": { + "model": "rgb", + "r": 0.83137256, + "g": 0.078431375, + "b": 0.3529412 + }, + "opacity": 1.0, + "midpoint": 0.5 + } + ] + }, + "angle": 0.0 + }, + "global": false, + "spot": false + }, + { + "name": "Ocean", + "paint": { + "type": "gradient", + "gradient": { + "kind": "Linear", + "stops": [ + { + "offset": 0.0, + "color": { + "model": "rgb", + "r": 0.16078432, + "g": 0.67058825, + "b": 0.8862745 + }, + "opacity": 1.0, + "midpoint": 0.5 + }, + { + "offset": 1.0, + "color": { + "model": "rgb", + "r": 0.18039216, + "g": 0.19215687, + "b": 0.57254905 + }, + "opacity": 1.0, + "midpoint": 0.5 + } + ] + }, + "angle": 0.0 + }, + "global": false, + "spot": false + } + ], + "swatch_groups": [ + { + "name": "Grays", + "swatches": [ + { + "name": "K=90", + "paint": { + "type": "solid", + "color": { + "model": "gray", + "k": 0.9 + } + }, + "global": false, + "spot": false + }, + { + "name": "K=80", + "paint": { + "type": "solid", + "color": { + "model": "gray", + "k": 0.8 + } + }, + "global": false, + "spot": false + }, + { + "name": "K=70", + "paint": { + "type": "solid", + "color": { + "model": "gray", + "k": 0.7 + } + }, + "global": false, + "spot": false + }, + { + "name": "K=60", + "paint": { + "type": "solid", + "color": { + "model": "gray", + "k": 0.6 + } + }, + "global": false, + "spot": false + }, + { + "name": "K=50", + "paint": { + "type": "solid", + "color": { + "model": "gray", + "k": 0.5 + } + }, + "global": false, + "spot": false + }, + { + "name": "K=40", + "paint": { + "type": "solid", + "color": { + "model": "gray", + "k": 0.4 + } + }, + "global": false, + "spot": false + }, + { + "name": "K=30", + "paint": { + "type": "solid", + "color": { + "model": "gray", + "k": 0.3 + } + }, + "global": false, + "spot": false + }, + { + "name": "K=20", + "paint": { + "type": "solid", + "color": { + "model": "gray", + "k": 0.2 + } + }, + "global": false, + "spot": false + }, + { + "name": "K=10", + "paint": { + "type": "solid", + "color": { + "model": "gray", + "k": 0.1 + } + }, + "global": false, + "spot": false + } + ] + }, + { + "name": "Brights", + "swatches": [ + { + "name": "Bright Red", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 0.11372549, + "b": 0.14509805 + } + }, + "global": false, + "spot": false + }, + { + "name": "Bright Yellow", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 0.9019608, + "b": 0.0 + } + }, + "global": false, + "spot": false + }, + { + "name": "Bright Green", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.0, + "g": 0.9019608, + "b": 0.4627451 + } + }, + "global": false, + "spot": false + }, + { + "name": "Bright Blue", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.16078432, + "g": 0.4745098, + "b": 1.0 + } + }, + "global": false, + "spot": false + }, + { + "name": "Bright Violet", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.8352941, + "g": 0.0, + "b": 0.9764706 + } + }, + "global": false, + "spot": false + } + ] + } + ], + "graphic_styles": [ + { + "name": "Default Graphic Style", + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 1.0, + "g": 1.0, + "b": 1.0 + } + } + }, + { + "kind": "stroke", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.0, + "g": 0.0, + "b": 0.0 + } + }, + "width": 1.0 + } + ] + }, + "id": 1, + "unit_box": true + }, + { + "name": "Black Outline", + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "none" + } + }, + { + "kind": "stroke", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.0, + "g": 0.0, + "b": 0.0 + } + }, + "width": 1.0 + } + ] + }, + "id": 2, + "unit_box": true + }, + { + "name": "Heavy Ink", + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.105882354, + "g": 0.078431375, + "b": 0.39215687 + } + } + }, + { + "kind": "stroke", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.0, + "g": 0.0, + "b": 0.0 + } + }, + "width": 4.0 + } + ] + }, + "id": 3, + "unit_box": true + }, + { + "name": "Sunshine", + "appearance": { + "items": [ + { + "kind": "fill", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.9843137, + "g": 0.6901961, + "b": 0.23137255 + } + } + }, + { + "kind": "stroke", + "paint": { + "type": "solid", + "color": { + "model": "rgb", + "r": 0.94509804, + "g": 0.3529412, + "b": 0.14117648 + } + }, + "width": 2.0 + } + ] + }, + "id": 4, + "unit_box": true + } + ], + "symbols": [], + "guides": [], + "grid": { + "spacing": 72.0, + "subdivisions": 8 + }, + "raster_effects_ppi": 72.0, + "images": {}, + "next_id": 89 + }, + "images": {} +} \ No newline at end of file diff --git a/design/orbi-fax/orbi-fax-p100-index.figcraft b/design/orbi-fax/orbi-fax-p100-index.figcraft new file mode 100644 index 00000000..60d97a60 Binary files /dev/null and b/design/orbi-fax/orbi-fax-p100-index.figcraft differ diff --git a/design/orbi-fax/orbi-fax-p100-index.png b/design/orbi-fax/orbi-fax-p100-index.png new file mode 100644 index 00000000..14a1a937 Binary files /dev/null and b/design/orbi-fax/orbi-fax-p100-index.png differ diff --git a/design/orbi-fax/orbi-fax-p100-index.svg b/design/orbi-fax/orbi-fax-p100-index.svg new file mode 100644 index 00000000..5f694a86 --- /dev/null +++ b/design/orbi-fax/orbi-fax-p100-index.svg @@ -0,0 +1,2729 @@ + +Orbi-Fax P100 index + + + + +Orbi-Fax + +channel 000 +Concept +P100 + + + + + +Key 3 figures + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/design/orbi-fax/orbi-fax-p100-index.txt b/design/orbi-fax/orbi-fax-p100-index.txt new file mode 100644 index 00000000..e822ad9a --- /dev/null +++ b/design/orbi-fax/orbi-fax-p100-index.txt @@ -0,0 +1,25 @@ +P100 ORBI-FAX 100 Sun 08 Nov 18:00:23 + ##### ### ORBI-FAX + ## ###### + ##### ### Orbit's own pages +########## Channel 000 opens Orbi-Fax +######################################## + + On Orbit Now .................. 500 + + Tonight's Highlights .......... 510 + + The Drive-In .................. 520 + + New In Your Library ........... 600 + + Arcade Records ................ 700 + + House and Rooms ............... 800 + +######################################## + Coming later + News 101 Sport 300 Weather 400 + + Key a page number on your remote + On Now Arcade Drive-In Rooms diff --git a/design/orbi-fax/orbi-fax-p301-your-sports.figcraft b/design/orbi-fax/orbi-fax-p301-your-sports.figcraft new file mode 100644 index 00000000..8e10ff95 Binary files /dev/null and b/design/orbi-fax/orbi-fax-p301-your-sports.figcraft differ diff --git a/design/orbi-fax/orbi-fax-p301-your-sports.png b/design/orbi-fax/orbi-fax-p301-your-sports.png new file mode 100644 index 00000000..b8999ed1 Binary files /dev/null and b/design/orbi-fax/orbi-fax-p301-your-sports.png differ diff --git a/design/orbi-fax/orbi-fax-p301-your-sports.svg b/design/orbi-fax/orbi-fax-p301-your-sports.svg new file mode 100644 index 00000000..22ce6025 --- /dev/null +++ b/design/orbi-fax/orbi-fax-p301-your-sports.svg @@ -0,0 +1,2528 @@ + +Orbi-Fax P301 your sports + + + + +Orbi-Fax + +channel 000 +Concept +P301 +1/1 + + + + +Key 3 figures + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/design/orbi-fax/orbi-fax-p301-your-sports.txt b/design/orbi-fax/orbi-fax-p301-your-sports.txt new file mode 100644 index 00000000..f6a8999d --- /dev/null +++ b/design/orbi-fax/orbi-fax-p301-your-sports.txt @@ -0,0 +1,25 @@ +P301 ORBI-FAX 301 Sun 08 Nov 18:11:40 + YOUR SPORTS + + Tick the sports Orbi-Fax follows +######################################## + + # Football < here + # Rugby union + # Cricket + # Tennis + # Golf + # Formula 1 + # Snooker + # Darts + # Athletics + # Boxing + + Football leagues Scottish, English + +######################################## + Kept on this TV only. Scores arrive + once their source is approved. + Up/Down move OK tick Back leave + + Index Weather On Now Arcade diff --git a/design/orbi-fax/orbi-fax-p401-your-weather.figcraft b/design/orbi-fax/orbi-fax-p401-your-weather.figcraft new file mode 100644 index 00000000..4b913859 Binary files /dev/null and b/design/orbi-fax/orbi-fax-p401-your-weather.figcraft differ diff --git a/design/orbi-fax/orbi-fax-p401-your-weather.png b/design/orbi-fax/orbi-fax-p401-your-weather.png new file mode 100644 index 00000000..778701ac Binary files /dev/null and b/design/orbi-fax/orbi-fax-p401-your-weather.png differ diff --git a/design/orbi-fax/orbi-fax-p401-your-weather.svg b/design/orbi-fax/orbi-fax-p401-your-weather.svg new file mode 100644 index 00000000..43be2c96 --- /dev/null +++ b/design/orbi-fax/orbi-fax-p401-your-weather.svg @@ -0,0 +1,2691 @@ + +Orbi-Fax P401 your weather + + + + +Orbi-Fax + +channel 000 +Concept +P401 +1/1 + + + + +Key 3 figures + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/design/orbi-fax/orbi-fax-p401-your-weather.txt b/design/orbi-fax/orbi-fax-p401-your-weather.txt new file mode 100644 index 00000000..9723d4b9 --- /dev/null +++ b/design/orbi-fax/orbi-fax-p401-your-weather.txt @@ -0,0 +1,25 @@ +P401 ORBI-FAX 401 Sun 08 Nov 18:10:05 + YOUR WEATHER + + Choose the town Orbi-Fax shows +######################################## + + Town Not chosen yet + + Towns, A to Z (Left/Right a letter) + > Aberdeen + Aberystwyth + Abingdon + Airdrie + + Units Celsius, mph + +######################################## + The town is kept on this TV only. + No forecast is shown yet: weather + arrives once its source is approved. + + + Up/Down choose OK save Back leave + + Index Sport On Now Rooms diff --git a/design/orbi-fax/orbi-fax-p501-now-next.figcraft b/design/orbi-fax/orbi-fax-p501-now-next.figcraft new file mode 100644 index 00000000..758dffb9 Binary files /dev/null and b/design/orbi-fax/orbi-fax-p501-now-next.figcraft differ diff --git a/design/orbi-fax/orbi-fax-p501-now-next.png b/design/orbi-fax/orbi-fax-p501-now-next.png new file mode 100644 index 00000000..8ab4c04b Binary files /dev/null and b/design/orbi-fax/orbi-fax-p501-now-next.png differ diff --git a/design/orbi-fax/orbi-fax-p501-now-next.svg b/design/orbi-fax/orbi-fax-p501-now-next.svg new file mode 100644 index 00000000..33c127e4 --- /dev/null +++ b/design/orbi-fax/orbi-fax-p501-now-next.svg @@ -0,0 +1,3476 @@ + +Orbi-Fax P501 now and next + + + + +Orbi-Fax + +channel 000 +Concept +P501 +1/4 + + + + +Key 3 figures + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/design/orbi-fax/orbi-fax-p501-now-next.txt b/design/orbi-fax/orbi-fax-p501-now-next.txt new file mode 100644 index 00000000..ce6b3674 --- /dev/null +++ b/design/orbi-fax/orbi-fax-p501-now-next.txt @@ -0,0 +1,25 @@ +P501 ORBI-FAX 501 Sun 08 Nov 18:02:47 + ON ORBIT NOW 1/4 + + Sun 08 Nov NOW then NEXT +######################################## + 101 Orbit 1 + 18:00 Harbour Lights + 19:00 Kitchen Table Quiz + 102 Orbit 2 + 17:45 Wild Coast Rescue + 18:45 The Allotment + 103 Orbit Three + 18:10 Flatmates + 18:35 Flatmates + 104 Orbit Gold + 17:30 Last Orders + 18:00 Mind the Shop + 105 Orbit Riot + 18:00 Stand-Up Shuffle + 19:00 Late Laughs + 109 Orbit Signature + 17:15 The Last Shuttle Home + 18:55 Beyond the Blue + More channels on 502 >> + Index Tonight Drive-In Next ch diff --git a/design/orbi-fax/orbi-fax-p700-arcade-records.figcraft b/design/orbi-fax/orbi-fax-p700-arcade-records.figcraft new file mode 100644 index 00000000..3be53391 Binary files /dev/null and b/design/orbi-fax/orbi-fax-p700-arcade-records.figcraft differ diff --git a/design/orbi-fax/orbi-fax-p700-arcade-records.png b/design/orbi-fax/orbi-fax-p700-arcade-records.png new file mode 100644 index 00000000..9c4af061 Binary files /dev/null and b/design/orbi-fax/orbi-fax-p700-arcade-records.png differ diff --git a/design/orbi-fax/orbi-fax-p700-arcade-records.svg b/design/orbi-fax/orbi-fax-p700-arcade-records.svg new file mode 100644 index 00000000..ec2e910a --- /dev/null +++ b/design/orbi-fax/orbi-fax-p700-arcade-records.svg @@ -0,0 +1,3256 @@ + +Orbi-Fax P700 Arcade records + + + + +Orbi-Fax + +channel 000 +Concept +P700 +1/2 + + + + +Key 3 figures + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/design/orbi-fax/orbi-fax-p700-arcade-records.txt b/design/orbi-fax/orbi-fax-p700-arcade-records.txt new file mode 100644 index 00000000..d06357b2 --- /dev/null +++ b/design/orbi-fax/orbi-fax-p700-arcade-records.txt @@ -0,0 +1,25 @@ +P700 ORBI-FAX 700 Sun 08 Nov 18:04:12 + ARCADE RECORDS 1/2 + + Top scores on this TV, by profile +######################################## + STAR CHASE + 1 PAU 12,480 2 KID 9,950 3 GST 4,120 + + COMET TRAIL + 1 KID 318 2 PAU 276 3 GST 91 + + BLOCK DROP + 1 PAU 41,200 2 GST 22,050 3 KID 8,700 + + BRICK BREAK + 1 KID 6,340 2 PAU 5,980 3 GST 2,210 + + BLAST OFF + 1 PAU 3,870 2 KID 3,105 3 GST 960 + +######################################## + Page 2/2: Skydoku, BumbleHive, Pairs + and Patience + Beat a record in the Orbit Arcade + Index Page 2/2 On Now Rooms diff --git a/design/orbi-fax/orbi-fax-p999-wizard.figcraft b/design/orbi-fax/orbi-fax-p999-wizard.figcraft new file mode 100644 index 00000000..88fffec1 Binary files /dev/null and b/design/orbi-fax/orbi-fax-p999-wizard.figcraft differ diff --git a/design/orbi-fax/orbi-fax-p999-wizard.png b/design/orbi-fax/orbi-fax-p999-wizard.png new file mode 100644 index 00000000..4beb48ac Binary files /dev/null and b/design/orbi-fax/orbi-fax-p999-wizard.png differ diff --git a/design/orbi-fax/orbi-fax-p999-wizard.svg b/design/orbi-fax/orbi-fax-p999-wizard.svg new file mode 100644 index 00000000..265c19ae --- /dev/null +++ b/design/orbi-fax/orbi-fax-p999-wizard.svg @@ -0,0 +1,2707 @@ + +Orbi-Fax P999 wizard + + + + +Orbi-Fax + +channel 000 +Concept +P999 + + + + + +Key 3 figures + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/design/orbi-fax/orbi-fax-p999-wizard.txt b/design/orbi-fax/orbi-fax-p999-wizard.txt new file mode 100644 index 00000000..9b27bb20 --- /dev/null +++ b/design/orbi-fax/orbi-fax-p999-wizard.txt @@ -0,0 +1,25 @@ +P999 ORBI-FAX 999 Sun 08 Nov 18:06:58 + ##################### + ## ### # + # ### ## You have gone + # ###### + ### ######### too far, young + # ########### + # ############## traveller. + # ############## + # ######## Return at once! + # ########### + # ############ + ############## ##################### + ############## + # ############ This page is past + # ############### the edge of + # ############## Orbi-Fax. + ################ + ################# Key 100 to fly + ################# home to the index. + + + P999 The wizard's corner + + Index Arcade On Now Rooms diff --git a/design/orbi-fax/render.sh b/design/orbi-fax/render.sh new file mode 100755 index 00000000..91be07eb --- /dev/null +++ b/design/orbi-fax/render.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +# Builds the Orbi-Fax concept SVGs, then makes the editable FigCraft/VectorCraft files and the PNGs. +set -euo pipefail +HERE="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)" +cd "$HERE" +FONTS="${TMPDIR:-/tmp}/orbi-fax-fonts"; mkdir -p "$FONTS/fonts"; cp ../fonts/*.ttf "$FONTS/fonts/" +export XDG_DATA_HOME="$FONTS" +python3 build-orbi-fax.py +python3 build-orbi-fax-extras.py +for P in orbi-fax-p100-index orbi-fax-p501-now-next orbi-fax-p700-arcade-records orbi-fax-p999-wizard orbi-fax-guide-text-entry orbi-fax-p401-your-weather orbi-fax-p301-your-sports; do + figcraft-cli convert "$P.svg" "$P.figcraft" --automation-read-root "$HERE" --automation-write-root "$HERE" + figcraft-cli export "$P.figcraft" --out "$P.png" --automation-read-root "$HERE" --automation-write-root "$HERE" +done +vectorcraft-cli convert orbi-fax-mark.svg orbi-fax-mark.vectorcraft +vectorcraft-cli convert orbi-fax-mark.svg orbi-fax-mark.png diff --git a/docs/orbi-fax-stage1.md b/docs/orbi-fax-stage1.md new file mode 100644 index 00000000..86cff9e8 --- /dev/null +++ b/docs/orbi-fax-stage1.md @@ -0,0 +1,126 @@ +# Orbi-Fax Stage 1 (branch `orbi-fax-stage1`, 8 November 2026) + +This is Orbit's own teletext, entirely offline. Paul approved it on 8 November 2026 as a separate feature track, so it doesn't hold up the provider work or the public launch. + +**Status:** built and tested on this branch only. It has not been installed on either TV, the live TV experience is unchanged, and nothing has been merged. + +## What it does + +- **Opening it:** + - Dial **000** on the channel number entry while watching. Back returns to the channel you were on. + - Or choose **Text** at the end of the TV guide's category row. Back returns to the guide. +- **The screen:** a 40 x 25 teletext page in the eight teletext colours, with 2x3 mosaics and double-height titles. The 4:3 page sits in the middle, with Orbit Classic margins either side. It follows the concept previews in `design/orbi-fax/`. +- **Remote** (simpler controls after the first downstairs trial, 8 November 2026; the key hints sit in the right-hand margin, not on the page): + - **Up / Down** moves the yellow highlight between the links on the page: the sections on page 100, then the coloured links and **Go to page** along the bottom. + - **OK** opens the highlighted link. **Go to page** opens a three-digit picker: Up/Down sets a digit, Left/Right moves between digits, OK goes and Back cancels. + - **Left / Right** turns sub-pages while there are some, then moves to the next or previous page. Page 999 is never turned to: it has to be keyed. + - **Number keys** key a page directly. The **red, green and yellow** keys follow the coloured links and the **blue** key opens Go to page. + - **Back** always returns to the TV or the guide. +- **Pages:** + +| Page | What it shows | Source (all on the box) | +|---|---|---| +| 100 | Index, with "coming later" for News 101, Sport 300, Weather 400 and House and Rooms 800 | – | +| 500 | Now and next, six channels a sub-page | each channel's own schedule | +| 501 | Full listings, one channel a sub-page, the next 17 programmes | the same | +| 510 | Tonight's highlights | What's On's own picks | +| 520 | The Drive-In's coming bills | the Drive-In plan | +| 600 | New in your library, first seen in the last 14 days | the daily arrivals record | +| 700 | Arcade records, today's single best per game on this TV | Arcade settings (no new score storage) | +| 999 | The wizard, with "You have gone too far, young traveller. Return at once!" | – | + +Any other number shows a short "no page" message, or "coming later" for 101, 300, 400 and 800. + +## Profiles, Reduce motion and quiet + +- **Kids profiles:** + - Only the channels ticked for the profile appear. + - After Dark and the late show never appear, even if ticked, and the After Dark PIN lock is honoured. + - The library page (600) is never shown, because arrivals carry no rating. + - The Drive-In (520) and Arcade (700) appear only when the profile allows them. + - Pages a profile can't see drop out of the index, the Fastext links and Up/Down. Keyed directly, they say "This page isn't on this profile." +- **Reduce motion:** the sub-page carousel doesn't turn on its own, and 999's warning appears at once instead of typing itself out. Orbi-Fax has no static or other animation. +- **Quiet:** Orbi-Fax makes no sound at all. + +## Under the hood + +- **New files:** + - `OrbiFaxPage.kt`: the page model and renderer + - `OrbiFaxNav.kt`: numbering and navigation + - `OrbiFaxPages.kt`: the page builders + - `OrbiFaxScreen.kt`: data reading and the screen + - `OrbiFaxArt.kt`: glyphs, mark and wizard, generated by `design/orbi-fax/export-kotlin-art.py` +- **Hooks in existing code:** + - `EmbyConnectionScreen.kt`: one state field, the 000 check in `onNumber`, the screen call and the guide's `onText` + - `GuideGrid.kt`: the optional `onText` parameter and the Text chip +- **Memory:** fixed and made once per visit. The page is five arrays of 1,000 cells, the dot buffer is a 240 x 250 `IntArray` (240 KB), and the bitmap is 240 x 250 ARGB (240 KB). Drawing a frame allocates nothing. The pages are rebuilt (small allocations) only when the page, sub-page or minute changes. The header is redrawn once a second. The records are read again once a minute while Orbi-Fax is open. Lists are capped (18 programmes a channel, 64 arrivals, 4 Drive-In bills). +- **Saved data:** nothing. Orbi-Fax saves no state, so there's nothing that needs an atomic write. +- **Reading the records:** done on one low-priority thread of Orbi-Fax's own, a channel at a time with a short pause between. Now and next come first, the full listings 1.5 s later, then a refresh every minute. Each read is logged (`OrbiFax load`), and so is each page shown (`OrbiFax page=… sub=…`), so the TV's numbers can be split by page. +- **Drawing:** the whole page is built and drawn only when it changes. Each second only the header row is redrawn, for the clock. +- **Glyphs:** the original 5x9 dot-matrix set drawn for the concept, not Bedstead, which still needs Paul's OK. The page is drawn at 240 x 250 dots and scaled without smoothing. +- **Not built:** + - entering pages from the phone (the Companion) + - per-profile score tables + - news, sport and weather sources (they need the licensing, attribution and privacy investigation first) + - House and Rooms (800) +- **Tests:** `OrbiFaxTest` (19 tests) covers the page model, the renderer, numbering and navigation, the profile filter and 999. + +## Measurement plan for the Xiaomi TV (needs Paul's approval to install, downstairs TV first) + +1. Build the release APK on this branch, record its SHA-256, and install with `adb install -r` on the downstairs TV only. That's the step that needs approval. +2. Baseline, before Orbi-Fax: `adb shell dumpsys meminfo tv.orbit.classic`. Record TOTAL PSS, Java heap, Native heap and Graphics. +3. `adb shell dumpsys gfxinfo tv.orbit.classic reset`, then open Orbi-Fax with 000. For about two minutes: + - step through every page with Up/Down + - key 501 and turn ten sub-pages + - open the Fastext row and the digit picker + - key 999 and let the warning type out + - leave 500 on its carousel for a minute +4. `adb shell dumpsys gfxinfo tv.orbit.classic`: record total frames, janky frames (%), and the 50th, 90th and 99th percentile frame times. +5. `adb logcat -s OrbiFax`: record the `render avgUs / maxUs` lines. The app logs one every 30 renders. +6. `dumpsys meminfo` again after five minutes in Orbi-Fax, and again after Back to the TV. +7. **Pass if:** + - render average is under 2 ms and maximum under 8 ms + - the 90th percentile frame is under 16 ms while keying + - Java heap doesn't grow over the five minutes + - PSS returns to within about 1 MB of the baseline after leaving +8. Report the numbers to Paul before anything goes upstairs. `tools/restore-tv.sh` puts the previous build back if needed. + +## Downstairs trial, 8 November 2026 (Paul approved the install) + +- **Build:** 0.110.5-orbi-fax-trial is 0.110.5 (commit 84b28b6) plus Orbi-Fax. It keeps versionCode 280, so the 0.110.5 APK reinstalls over it. +- **Install:** `install -r` on the downstairs TV (192.168.0.252) only. The APK SHA-256 is `f801bdbcb068189e969b11eafdcb7e5c58a1cbd70c2e8c991e2d3a264105bb29`, signed with the same key as the installed app. +- **Checks after install:** + - One Orbit MainActivity is running. + - Bookings went from 2,368 to 2,370, none lost. + - Profiles, settings and the Taste events are unchanged. + - The schedule and progress files and the connection file were rewritten on launch, as at the 0.110.5 install. +- **Backups:** the before and after snapshots, the measurements and `rollback-0.110.5.apk` are in `backups/install-0.110.5-orbi-fax-trial-20261108-1837`. +- **Render time** (the app's own log, 120 renders): + - average 1.7 to 2.4 ms a render, maximum 6.4 ms + - a render happens only when the page changes and once a second for the clock, not every frame +- **Frames:** + - The guide alone ran at 50th/90th/99th percentiles of 8/12/26 ms. + - The two minutes in Orbi-Fax ran at 20/40–81/150–200 ms, with 33 to 79 janky frames per 30 seconds. + - That window also held the first page loads and the planner's background rounds after a fresh start. +- **Memory:** about 128 MB in the guide after the restart, 174 MB at most in Orbi-Fax (Java heap 27.5 MB), and back to 149–150 MB after leaving. It stayed flat for seven minutes, so nothing was left behind growing. The earlier 214–227 MB baseline was a process that had been running for a long time, so it isn't directly comparable. +- **Not captured:** the per-page key timeline. `getevent` can't read several devices at once that way, so the frames can't be split by page. +- **To follow up:** + - The jank on opening and turning pages needs a closer look. Likely candidates are reading every channel's listings in one go, and rebuilding the whole page when only the clock changes. + - The render average is right at the 2 ms target. + +## Second downstairs trial, 8 November 2026 (simpler controls) + +- **Install:** 0.110.5-orbi-fax-trial2, updated in place (`8ca4d7773edee20b5aa72a81f363950630eba883b0785410c8dcc34d9ea4aad5`). One MainActivity is running and all 2,370 bookings were kept. Profiles and settings are unchanged. Backups and measurements are in `backups/install-0.110.5-orbi-fax-trial2-20261108-1909`. +- **Paul's verdict on the controls:** "feels good". +- **Measurements:** + + | Where | Frames 50th / 90th / 99th percentile | Janky | Memory (PSS) | + |---|---|---|---| + | Guide | 9 / 40 / 200 ms | 14% | 116–138 MB | + | Orbi-Fax, 19:12:09 to 19:13:02 | 18 / 26 / 53 ms | 46% | 144–160 MB (Java heap 15–27 MB) | + | First trial, Orbi-Fax | 20 / 40–81 / 150–200 ms | | | + + Pages visited: 100, 520, 510, 501 (nine sub-pages), 600, 500 (six sub-pages). +- **Reading the records:** now and next for 38 channels took 202–218 ms on the background thread. The full listings took 411–416 ms. +- **Render time:** a full page averages 1.8 ms, at most 3.0 ms. +- **Still to do:** Orbi-Fax frames now sit just over 16 ms (the 50th percentile is 18 ms), so many still count as janky. The 90th and 99th percentiles are much better than in the first trial. A next step would be drawing the page with a single image upload instead of `setPixels` on each change, and measuring whether the scaled `drawImage` costs more than it should on this TV.