gesture_art_painter 0.0.1 copy "gesture_art_painter: ^0.0.1" to clipboard
gesture_art_painter: ^0.0.1 copied to clipboard

A Flutter package for creating abstract art with gestures and motion sensors.

Gesture Art Painter #

Gesture Art Painter is a Flutter package that allows users to create mesmerizing abstract art through multi-touch gestures and motion sensors. Whether you're a creative enthusiast or just looking to add a fun feature to your app, Gesture Art Painter is the perfect solution!

Features #

  • Multi-touch gesture painting : Paint with multiple fingers simultaneously for dynamic artwork.
  • Motion-based brush effects : Enable motion sensors to influence brush strokes for unique designs.
  • Customizable brush settings : Adjust brush size and color to suit your creative style.
  • Clear canvas functionality : Easily reset the canvas for new creations.

Getting started #

Prerequisites:

  • Flutter SDK version 3.0.0 or higher.
  • Add sensors_plus dependency to your project (this package includes it).
  • Example: Run flutter pub get to install the dependencies.
dependencies:
  gesture_art_painter: ^1.0.0
  sensors_plus: ^6.1.1

Installation #

  1. Import the package: import 'package:gesture_art_painter/gesture_art_painter.dart';
  2. Add the GestureArtPainter widget to your Flutter application.

Usage #

Here's how you can use the package in your app:

import 'package:flutter/material.dart'; import 'package:gesture_art_painter/gesture_art_painter.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( debugShowCheckedModeBanner: false, home: Scaffold( appBar: AppBar(title: const Text('Gesture Art Painter')), body: GestureArtPainter( brushColor: Colors.blue, brushSize: 10.0, enableMotion: true, onClearCanvas: () { print("Canvas cleared!"); }, ), ), ); } }

Features in Action #

  • Use multiple fingers to paint on the canvas.
  • Enable motion sensors (enableMotion: true) to add motion-based brush effects.
  • Customize the brush with brushColor and brushSize.
  • Clear the canvas using the built-in floating action button.

Additional information #

Contribution #

Contributions are welcome! If you find bugs or have feature requests, please file an issue or submit a pull request.

Support #

If you encounter any issues, feel free to open an issue on the GitHub repository.

License #

This package is licensed under the MIT License. See the LICENSE file for details.

Enjoy creating unique artwork with Gesture Art Painter! 🎨

0
likes
120
points
18
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for creating abstract art with gestures and motion sensors.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, sensors_plus

More

Packages that depend on gesture_art_painter

Packages that implement gesture_art_painter