{
  "version": 1,
  "canonical": "https://xaede.net/work/lyra",
  "title": "Lyra",
  "description": "A Java applet-era 2D engine with animation, tiling, multidirectional sprites, physics, scene management, audio and GUI widgets.",
  "language": "en",
  "manifest": "https://xaede.net/representations/index.json",
  "contentHtml": "<section class=\"detail-intro\"><nav class=\"page-breadcrumb\" aria-label=\"Breadcrumb\"><ol><li><a href=\"/\">Home</a></li><li><a href=\"/work\">Work</a></li><li><span aria-current=\"page\">Lyra</span></li></ol></nav><span class=\"eyebrow\">Historical engine / Java</span><h1>Lyra</h1><p class=\"detail-deck\">A Java engine for small worlds</p><p class=\"intro-copy\">A Java applet-era 2D engine with animation, tiling, multidirectional sprites, physics, scene management, audio and GUI widgets.</p><div class=\"detail-links\"><a class=\"text-link\" href=\"https://github.com/josh-english-2k18/lyra\" rel=\"noopener noreferrer\">View the source <span aria-hidden=\"true\">↗</span></a><a class=\"text-link\" href=\"https://github.com/josh-english-2k18/lyra/blob/main/README.md\" rel=\"noopener noreferrer\">Project documentation <span aria-hidden=\"true\">↗</span></a></div></section><figure class=\"project-image wide-image\" data-project-visual><a href=\"/media/visuals/projects--lyra.webp\" class=\"visual-open\" aria-label=\"Open full-size visual: Lyra\"><img src=\"/media/visuals/projects--lyra.webp\" width=\"132\" height=\"196\" alt=\"Lyra — project logo\"  decoding=\"async\"></a><figcaption>Original Lyra project mark from the public repository. · <a href=\"/media/visuals/projects--lyra.webp\">View full size ↗</a> · <a href=\"https://raw.githubusercontent.com/josh-english-2k18/lyra/main/logo.png\" rel=\"noopener noreferrer\">Source</a></figcaption></figure><section class=\"section detail-grid\"><aside><span class=\"eyebrow\">AREAS OF EXPLORATION</span><div class=\"tags\"><span>Java</span><span>2D games</span><span>Tools</span></div><p class=\"small\">MIT · Public repository</p><p class=\"small\">GitHub record: February 10, 2023</p></aside><div class=\"prose\"><section class=\"project-chapter\"><h2>A reusable engine for small 2D worlds</h2><p>Lyra is a Java 2D engine built for the applet era. It brings animation, assets, tiles, sprites, camera state, input, audio and interface widgets into one reusable system. The goal was to make game ideas playable while continuing to develop the machinery underneath them.</p><p>Its games include an isometric buggy racer, Galaxik’s galactic-conquest setting and Spincycle, a Tetris variant. These give the engine different workloads: navigating a scene, managing a strategic world and handling a compact puzzle-game loop.</p></section><section class=\"project-chapter\"><h2>What the engine provides</h2><p>The animation system handles frame sequences and camera-aware rendering. Sprites have 16-direction representations with direction-change blending, selection and highlighting. The physics layer tracks motion, speed and angular velocity and applies friction, thrust, gravity and bounce.</p><p>Scene management gathers keyboard and mouse events, maintains the camera and coordinates rendering for tiles, sprites, animations and physics objects. Supporting systems cover cached image and audio assets, TCP/UDP/HTTP networking, plugins and event triggers. GUI components include buttons, lists, text entry, progress bars and other tools needed around the game itself.</p></section><section class=\"project-chapter\"><h2>A record of the Java browser era</h2><p>The repository includes subsystem tests and Apache Ant build files for the engine and individual games. Java applets are a historical browser target, so the current value is in the source and design rather than a promise that the original applet can be launched in a modern browser. The 2023 GitHub date records publication of that older work.</p></section><h2>Implementation at a glance</h2><ul><li>Includes frame-based animation and 16-direction sprite movement.</li><li>Provides camera-aware rendering, assets, events and networking utilities.</li><li>Contains an isometric buggy-racing game, Galaxik and Spincycle.</li></ul><h2>Applications within the project</h2><section class=\"project-chapter\"><h3>Lyra racing</h3><figure class=\"project-image application-image\" data-project-visual><a href=\"/media/visuals/subprojects--lyra--lyra-racing.svg\" class=\"visual-open\" aria-label=\"Open full-size visual: Lyra racing\"><img src=\"/media/visuals/subprojects--lyra--lyra-racing.svg\" width=\"1600\" height=\"1000\" alt=\"Lyra racing — explanatory diagram\" loading=\"lazy\" decoding=\"async\"></a><figcaption>Design schematic of the historical game; not a reconstructed screenshot. · <a href=\"/media/visuals/subprojects--lyra--lyra-racing.svg\">View full size ↗</a></figcaption></figure><p>An isometric tiled buggy-racing game listed in the engine README.</p><a class=\"text-link\" href=\"https://github.com/josh-english-2k18/lyra/blob/main/README.md\" rel=\"noopener noreferrer\">Application source <span aria-hidden=\"true\">↗</span></a></section><section class=\"project-chapter\"><h3>Galaxik</h3><figure class=\"project-image application-image\" data-project-visual><a href=\"/media/visuals/legacy--legacy-galaxik.svg\" class=\"visual-open\" aria-label=\"Open full-size visual: Galaxik\"><img src=\"/media/visuals/legacy--legacy-galaxik.svg\" width=\"1600\" height=\"1000\" alt=\"Galaxik — explanatory diagram\" loading=\"lazy\" decoding=\"async\"></a><figcaption>Game-structure illustration based on the historical account, not a screenshot. · <a href=\"/media/visuals/legacy--legacy-galaxik.svg\">View full size ↗</a></figcaption></figure><p>A galactic-conquest game with fleets, planets and technology.</p><a class=\"text-link\" href=\"https://github.com/josh-english-2k18/lyra/blob/main/src/java/galaxik/Galaxik.java\" rel=\"noopener noreferrer\">Application source <span aria-hidden=\"true\">↗</span></a></section><section class=\"project-chapter\"><h3>Spincycle</h3><figure class=\"project-image application-image\" data-project-visual><a href=\"/media/visuals/subprojects--lyra--spincycle.svg\" class=\"visual-open\" aria-label=\"Open full-size visual: Spincycle\"><img src=\"/media/visuals/subprojects--lyra--spincycle.svg\" width=\"1600\" height=\"1000\" alt=\"Spincycle — explanatory diagram\" loading=\"lazy\" decoding=\"async\"></a><figcaption>Design schematic of the historical Tetris variant. Exact art and interface are not reconstructed. · <a href=\"/media/visuals/subprojects--lyra--spincycle.svg\">View full size ↗</a></figcaption></figure><p>A Tetris variant with additional game objects and mechanics.</p><a class=\"text-link\" href=\"https://github.com/josh-english-2k18/lyra/blob/main/src/java/spincycle/Spincycle.java\" rel=\"noopener noreferrer\">Application source <span aria-hidden=\"true\">↗</span></a></section><h2>Project status</h2><p>Historical Java applet software. Source and build files are preserved, but a current browser-playable release is not provided here.</p><div class=\"detail-links\"><a class=\"text-link\" href=\"https://github.com/josh-english-2k18/lyra\" rel=\"noopener noreferrer\">Source on GitHub <span aria-hidden=\"true\">↗</span></a><a class=\"text-link\" href=\"https://github.com/josh-english-2k18/lyra/blob/main/README.md\" rel=\"noopener noreferrer\">Further technical detail <span aria-hidden=\"true\">↗</span></a></div></div></section>",
  "structuredData": {
    "@context": "https://schema.org",
    "@graph": [
      {
        "@type": "Person",
        "@id": "https://xaede.net/#josh-english",
        "name": "Josh English",
        "url": "https://xaede.net/about",
        "sameAs": [
          "https://github.com/josh-english-2k18",
          "https://medium.com/@jengas",
          "https://www.linkedin.com/in/joshua-s-english",
          "https://x.com/JoshSeriesAI"
        ],
        "jobTitle": "VP of Engineering",
        "description": "Josh English is VP of Engineering at Chronicle Media and was previously CTO of Series Entertainment. His career spans more than twenty-five years of distributed systems, game technology and engineering leadership. At Google he worked as a lead engineer on large-scale services and applied ML; at Big Run Studios he led multidisciplinary technology teams across seven time zones and four countries. At Series he directed engineering, QA, DevOps and infrastructure supporting live commercial games and AI-enabled production. He also builds personal games and developer tools to investigate how emerging capabilities work in practice, and writes about engineering judgment, organisation design and product economics.",
        "mainEntityOfPage": {
          "@id": "https://xaede.net/about#webpage"
        }
      },
      {
        "@type": "WebSite",
        "@id": "https://xaede.net/#website",
        "url": "https://xaede.net/",
        "name": "Xaede",
        "alternateName": [
          "Xaede.net",
          "Josh English — Xaede"
        ],
        "inLanguage": "en",
        "publisher": {
          "@id": "https://xaede.net/#josh-english"
        }
      },
      {
        "@type": "WebPage",
        "@id": "https://xaede.net/work/lyra#webpage",
        "url": "https://xaede.net/work/lyra",
        "name": "Lyra",
        "description": "A Java applet-era 2D engine with animation, tiling, multidirectional sprites, physics, scene management, audio and GUI widgets.",
        "inLanguage": "en",
        "isPartOf": {
          "@id": "https://xaede.net/#website"
        },
        "about": {
          "@id": "https://xaede.net/#josh-english"
        },
        "mainEntity": {
          "@id": "https://xaede.net/work/lyra#project"
        },
        "breadcrumb": {
          "@id": "https://xaede.net/work/lyra#breadcrumbs"
        },
        "primaryImageOfPage": {
          "@id": "https://xaede.net/media/visuals/projects--lyra.webp#image"
        }
      },
      {
        "@type": "SoftwareSourceCode",
        "@id": "https://xaede.net/work/lyra#project",
        "name": "Lyra",
        "description": "A Java applet-era 2D engine with animation, tiling, multidirectional sprites, physics, scene management, audio and GUI widgets.",
        "author": {
          "@id": "https://xaede.net/#josh-english"
        },
        "codeRepository": "https://github.com/josh-english-2k18/lyra",
        "programmingLanguage": [
          "Java",
          "HTML"
        ],
        "creativeWorkStatus": "Historical engine",
        "url": "https://xaede.net/work/lyra",
        "mainEntityOfPage": {
          "@id": "https://xaede.net/work/lyra#webpage"
        },
        "image": {
          "@id": "https://xaede.net/media/visuals/projects--lyra.webp#image"
        }
      },
      {
        "@type": "BreadcrumbList",
        "@id": "https://xaede.net/work/lyra#breadcrumbs",
        "itemListElement": [
          {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://xaede.net/"
          },
          {
            "@type": "ListItem",
            "position": 2,
            "name": "Work",
            "item": "https://xaede.net/work"
          },
          {
            "@type": "ListItem",
            "position": 3,
            "name": "Lyra",
            "item": "https://xaede.net/work/lyra"
          }
        ]
      },
      {
        "@type": "ImageObject",
        "@id": "https://xaede.net/media/visuals/projects--lyra.webp#image",
        "url": "https://xaede.net/media/visuals/projects--lyra.webp",
        "contentUrl": "https://xaede.net/media/visuals/projects--lyra.webp",
        "width": 132,
        "height": 196,
        "caption": "Original Lyra project mark from the public repository."
      }
    ]
  }
}
