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

funvas 封面
插件详情v0.1.8

funvas

一个基于时间和数学函数创建画布动画的包。乐趣 + 画布 -> funvas :)

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
2210
喜欢数
257
Pub 分数
160

安装插件

flutter pub add funvas

插件介绍

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

Funvas 是一个 Flutter 包,可使用基于时间的函数创建动态、数学驱动的画布动画。它将自定义绘图的灵活性与数学表达式相结合,生成流畅且交互式的视觉效果。非常适合希望在无需复杂状态管理的情况下实现创意实时动画的开发者。该包支持移动、Web 和桌面等多个平台,适用于跨平台项目。通过简单的 API,它允许通过响应经过时间的函数精确控制动画行为。

适合场景

  • 互动艺术展示
  • 动画背景
  • 数学可视化
  • 游戏UI元素
  • 创意应用界面

主要特点

  • 基于时间的动画函数
  • 数学表达式驱动的视觉效果
  • 跨平台支持
  • 轻量且高效
  • 与 Flutter 小部件的轻松集成

适合对象

  • 创意开发者
  • UI/UX 设计师
  • 教育类应用开发者
  • 游戏开发者
  • 艺术类 Flutter 项目

使用建议

  • 需要了解基本数学函数
  • 可能会影响重型动画的性能
  • 有限的内置动画预设
  • 最适合自定义的手工效果
  • 不适合标准UI过渡

原始 README

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

funvas Pub version gallery badge Twitter Follow

Flutter package that allows creating canvas animations based on time and math (mostly trigonometric) functions.

The name "funvas" is based on Flutter + fun + canvas. Let me know if you have any better ideas :)

Gallery gallery badge

I share my funvas creations on Twitter and I have also created a live demo, a gallery that allows you to explore some of the animations running right in Flutter web :)

Community projects

Here are some awesome community projects made using the funvas package to create some 🔥✨

Repo structure

This repo currently contains the following packages:

Package Contents
funvas The actual funvas Flutter package that is also hosted on Pub. Both funvas_tweets and funvas_gallery depend on this package. It contains the basic widget for displaying funvas animations.
funvas_gallery Collection of funvas animations I created and shared on Twitter. The package also contains the code I use to export my animations to GIF and mp4.
funvas_rendering Package for rendering and exporting funvas animations, which is used to create all funvas_tweets GIFs.
funvas_tweets Flutter web app (gallery) showcasing a selection of funvas_tweets funvas animations that can be reached at funvas.creativemaybeno.dev.
open_simplex_2 Package that makes OpenSimplex2 noise generation available to everyone in Dart :) I use this for my own funvas animations (funvas_tweets) but it is also hosted for anyone to use on Pub.
Inspiration

The whole concept is inspired by Dwitter (check it out). That is mainly the way the API is built. These kinds of animations (especially in GIF form) can be found in many communities, e.g. in processing (and with that p5.js).

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目

暂无相关数据。