Skip to content

Instantly share code, notes, and snippets.

View xrr2016's full-sized avatar
🥭
Coding

冷石Boy xrr2016

🥭
Coding
View GitHub Profile
@xrr2016
xrr2016 / README.md
Last active November 26, 2024 21:53 — forked from bangingheads/README.md
TFT Team Planner Codes

TFT Team Planner Codes

This gist describes how team planner codes are generated. This allows you to create your own team comps for pasting in the client without needing to use the client.

The code is a hexadecimal representation of champions. Here's a breakdown of the bits in the code. Example code 010102030405060708090ATFTSet13

01 01 02 03 04 05 06 07 08 09 0A TFTSet13
Always starts with 01 Champion 1 Champion 2 Champion 3 Champion 4 Champion 5 Champion 6 Champion 7 Champion 8 Champion 9 Champion 10 TFT Set ID
@xrr2016
xrr2016 / tiled_lines.dart
Last active July 7, 2020 08:06
Flutter Generative Artistry Tiled Lines
import 'dart:math';
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
@xrr2016
xrr2016 / flutter-tinder-cards.dart
Created June 19, 2020 14:54
使用 Flutter 实现探探卡片布局
import 'dart:math';
import 'package:flutter/material.dart';
import 'package:flutter/physics.dart';
List<String> images = [
'https://gank.io/images/5ba77f3415b44f6c843af5e149443f94',
'https://gank.io/images/02eb8ca3297f4931ab64b7ebd7b5b89c',
'https://gank.io/images/31f92f7845f34f05bc10779a468c3c13',
'https://gank.io/images/b0f73f9527694f44b523ff059d8a8841',
@xrr2016
xrr2016 / pie-chart.dart
Created June 10, 2020 02:59
使用 Flutter 绘制图表(二)饼状图🍪
import 'package:flutter/material.dart';
import 'dart:math' as math;
import 'dart:ui';
List<Color> colors = [
Color(0xff8e43e7),
Color(0xffff4f81),
Color(0xff1cc7d0),
Color(0xff00aeff),
Color(0xff3369e7),
{"lastUpload":"2020-05-12T00:04:35.087Z","extensionVersion":"v3.4.3"}