パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.2.0

flutter_processing

Processing の Flutter バージョン。

AndroidiOSmacOSWindowsLinux
30日間ダウンロード
107
いいね数
70
Pub ポイント
120

パッケージをインストール

flutter pub add flutter_processing

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

Flutter Processing は、Flutter アプリケーションに Processing のクリエイティブコーディング機能をもたらす Flutter パッケージです。開発者は、Flutter のクロスプラットフォームフレームワーク内で、馴染みのある Processing 風の構文を使ってインタラクティブなグラフィックス、アニメーション、ビジュアルアートを作成できます。生成アートに興味があるアーティスト、教育者、開発者にとって理想的で、Android、iOS、macOS、Windows、Linux でのリアルタイム描画とアニメーションをサポートしています。このパッケージは Flutter のウィジェットシステムとシームレスに統合され、低レベルのキャンバス操作へのアクセスも提供します。

用途

  • ジェネラティブアートアプリケーション
  • インタラクティブな可視化
  • 教育用プログラミングプロジェクト
  • クリエイティブコーディングプロトタイプ
  • リアルタイムアニメーションデモ

主な機能

  • 処理スタイル構文
  • クロスプラットフォームのキャンバスレンダリング
  • リアルタイムアニメーションサポート
  • Flutter ウィジェットとの統合
  • タッチおよびマウス入力のサポート

適している対象

  • クリエイティブコーダー
  • コードを使用するアーティスト
  • プログラミングを教える教育者
  • ビジュアルアプリを開発する開発者
  • インタラクティブデザインを学ぶ学生

注意事項

  • 低スペックデバイスではパフォーマンスが異なる場合があります
  • Processing の概念を理解する必要がある
  • メインのProcessingに比べてドキュメントが限られている
  • 複雑なUIには適していない
  • データ駆動型ではなく、グラフィックスが重視されるアプリに最適

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Flutter Processing

A Flutter port of Processing.

This project is not affiliated with the Processing project, or related organizations.

The goal of flutter_processing is to provide the same easy learning environment as Processing, but with the additional utility of a production-ready UI toolkit, called Flutter. With traditional Processing, there is minimal professional value in the underlying language. With flutter_processing, the underlying tool, Flutter, is sufficient for employment as an app UI developer. flutter_processing offers an educational tool and an employment opportunity all in one.

Want to see how this project was implemented? Nearly every change was recorded and published to the SuperDeclarative! channel on YouTube.

To see which Processing APIs have been ported to Flutter, see the API Checklist.


Do you get value from this package? Please consider supporting SuperDeclarative!


Getting Started

To play with some demos, clone this repository and run the example app!

To paint a canvas with a sketch in Flutter, the way you would in Processing, display a Processing widget and implement a Sketch.

void main() {
  runApp(
    MaterialApp(
      home: Processing(
        sketch: Sketch.simple(
          setup: (sketch) async {
            // TODO: do your typical Sketch setup
            //       stuff here. Call methods on
            //       the provided sketch object.
          },
          draw: (sketch) async {
            // TODO: do your typical Sketch drawing
            //       stuff here. Call methods on
            //       the provided sketch object.
          },
        ),
      ),
    ),
  );
}

To retain and access variables in your Sketch, or to implement a Sketch in a more traditional way, subclass Sketch:

void main() {
  runApp(
    MaterialApp(
      home: Processing(
        sketch: MySketch(),
      ),
    ),
  );
}

class MySketch extends Sketch {
  @override
  Future<void> setup() async {
    // TODO: do setup stuff here
  }

  @override
  Future<void> draw() async {
    // TODO: do drawing stuff here
  }
}

Get Involved

If you create anything cool, be sure to post it to Twitter and tag @SuprDeclarative and @FlutterDev!

If you need something implemented, or you find a bug, please checkout the Contributing Guide and then file an issue in the GitHub project.

カテゴリー

依存関係

依存関係一覧 3 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。