搜索插件、代码仓与 APP 分类

animated_glitch 封面
插件详情v3.0.0

animated_glitch

Animated Glitch 是一个 Flutter 包,可让您轻松创建故障效果并进行控制

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
713
喜欢数
108
Pub 分数
160

安装插件

flutter pub add animated_glitch

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Animated Glitch 是一个 Flutter 包,旨在通过简单集成创建动态故障效果。它使开发者能够为 UI 元素或背景添加视觉冲击力强的屏幕扭曲、像素位移和颜色干扰。该包支持对故障强度、时间和风格进行实时控制,非常适合用于交互式应用、游戏或创意界面。跨所有主要平台支持,提供一致的性能和视觉效果。非常适合为应用程序增添未来感或数字艺术美感。

适合场景

  • 交互式应用界面
  • 游戏UI增强
  • 数字艺术展示
  • 创意动画
  • 仪表板中的背景效果

主要特点

  • 实时故障控制
  • 多种故障样式
  • 跨平台兼容性
  • 可自定义的强度和时间
  • 简单的 API 集成
  • 基于着色器的渲染

适合对象

  • 寻求视觉魅力的UI设计师
  • 游戏开发者
  • 创意应用构建者
  • 前端开发人员
  • 实验性接口项目

使用建议

  • 可能会影响低端设备的性能
  • 最适合短暂的动画播放
  • 需要了解基本的着色器概念
  • 超出所提供预设之外的自定义选项有限
  • 不适合静态内容

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

AnimatedGlitch

normalpurple cyan blue

What is animated_glitch ?

It is an open-source package for the Flutter framework that provides an animated glitching effect that can be controlled for a specified widget.

When applying the glitch effect, you have two main options: one with a shader and the other without. The choice may depend on your specific needs, such as performance, extensive customization, or visual output.

For instance, the non-shader version can accept various provided colors and generate corresponding color channels, while the non-shader version is limited to only three colors (RGB). However, the shader version typically offers better performance and a richer visual effect.

Comparison

With shader:

ezgif-3-67648a42b4

Without shader:

blue

Documentation

Playground

You can play around with the settings on a playground.

Inspired by f_glitch

所属分类

源码仓库

使用此插件的项目

暂无相关数据。