Skip to content

Commit

Permalink
优化时钟绘制
Browse files Browse the repository at this point in the history
  • Loading branch information
toly1994328 committed Jul 6, 2021
1 parent 6234c81 commit ca81162
Show file tree
Hide file tree
Showing 5 changed files with 224 additions and 158 deletions.
4 changes: 2 additions & 2 deletions lib/painter_system/anim/draw_path.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import 'dart:math';
import 'dart:ui';
import 'dart:ui' as ui;

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'dart:ui' as ui;

/// create by 张风捷特烈 on 2020/5/1
/// contact me by email 1981462002@qq.com
Expand Down Expand Up @@ -69,7 +69,7 @@ class PaperPainter extends CustomPainter {
}

double f(double thta) {
double p = 150*sin(5*thta).abs();
double p = 120 * sin(5 * thta).abs();
return p;
}

Expand Down
Loading

0 comments on commit ca81162

Please sign in to comment.