패키지, 저장소 및 앱 카테고리 검색

패키지 상세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 유사 구문을 사용하여 인터랙티브 그래픽, 애니메이션 및 시각 예술을 만들 수 있게 해줍니다. 생성 예술에 관심 있는 아티스트, 교육자 및 개발자에게 이상적이며, 안드로이드, iOS, macOS, Windows 및 리눅스에서 실시간 드로잉과 애니메이션을 지원합니다. 이 패키지는 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 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.