4 个仓库
Rendering techniques that calculate changes between frames to minimize terminal redraws.
Distinguishing note: Existing candidates cover network deltas or file diffs, not terminal frame diffing for flicker reduction
Explore 4 awesome GitHub repositories matching user interface & experience · Diff-Based Screen Updates. Refine with filters or upvote what's useful.
CollectionKit 是一个用于在 Apple 平台上构建高性能可滚动网格和列表的框架。它为集合视图内的声明式状态同步、动态网格渲染和多部分数据组合提供了引擎。 该框架具有一个声明式同步器,可计算数据差异以更新界面元素,而无需重新加载整个视图。它包括一个用于以流式或瀑布流模式渲染数据的动态网格布局引擎,以及一个将不同数据源组合成具有独立部分提供程序的单个视图的数据组合器。 该系统支持元素位置和属性的插值,以在布局更改、添加和删除期间创建动画。它通过单元格布局配置和滚动优化渲染,管理数据到结构化视觉流的组织。
Provides a declarative synchronizer that calculates data differences to update only modified interface elements.
Westore 是一个小程序 MVVM 框架和跨平台逻辑层,旨在将应用程序行为与特定于平台的渲染环境隔离开来。它充当解耦的状态管理器和数据绑定引擎,将业务逻辑与用户界面分离。 该框架利用模型-视图-视图模型 (MVVM) 架构来维护可移植的模型层,允许在没有运行用户界面的情况下使用模拟对象测试业务逻辑。它采用差异化 (diffing) 过程来计算最短数据路径并自动更新用户界面。 该系统涵盖了小程序中无头 (headless) 业务逻辑开发和状态管理,专注于将逻辑与视图分离,以实现单元测试和可移植的应用程序行为。
Calculates the minimum required UI updates by diffing data state changes to optimize rendering performance.
这是一个 React 演示组件,旨在创建动画代码滑块和分步演练。它作为一个代码演示工具,允许用户在技术演示期间高亮显示语法并在代码库的不同版本之间进行过渡。 该工具通过渲染经历增量变化的代码快照来创建动画代码演练。这些序列通过键盘输入进行导航,允许演示者逐步推进代码步骤,以解释逻辑变更。 系统提供了技术演示工作流的功能,包括编程教程和开发者教育材料的设计。它处理代码片段的视觉结构,并管理源代码文本不同版本之间的状态转换。
Calculates incremental changes between code versions to render animated visual updates during a step-by-step presentation.
Mosaic is a declarative terminal user interface framework and display engine. It provides a toolkit for building interactive command-line applications by synchronizing a data model with the terminal screen to minimize manual redraws. The library functions as a layout engine for designing structured visual interfaces and real-time displays. It enables the development of interactive console programs, such as system monitors and games, by managing responsive user input and dynamic output updates.
Calculates the delta between screen states to reduce flicker by only rewriting changed characters.