lemon_math 1.1.2 copy "lemon_math: ^1.1.2" to clipboard
lemon_math: ^1.1.2 copied to clipboard

outdated

A utility library for making 2d games

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add lemon_math

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  lemon_math: ^1.1.2

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:lemon_math/abs.dart';
import 'package:lemon_math/adjacent.dart';
import 'package:lemon_math/angle.dart';
import 'package:lemon_math/angle_between.dart';
import 'package:lemon_math/clamp.dart';
import 'package:lemon_math/clamp01.dart';
import 'package:lemon_math/dart_lemon_math.dart';
import 'package:lemon_math/diff.dart';
import 'package:lemon_math/diff_over.dart';
import 'package:lemon_math/diff_under.dart';
import 'package:lemon_math/distance_between.dart';
import 'package:lemon_math/give_or_take.dart';
import 'package:lemon_math/golden_ratio.dart';
import 'package:lemon_math/hypotenuse.dart';
import 'package:lemon_math/normlize.dart';
import 'package:lemon_math/opposite.dart';
import 'package:lemon_math/pi2.dart';
import 'package:lemon_math/piHalf.dart';
import 'package:lemon_math/random.dart';
import 'package:lemon_math/randomAngle.dart';
import 'package:lemon_math/random_around.dart';
import 'package:lemon_math/random_between.dart';
3
likes
0
pub points
27%
popularity

Publisher

unverified uploader

A utility library for making 2d games

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on lemon_math