JimothyJohn / flutter-visuals

Various graphics experiments with Flutter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

visuals

Visual sandbox for Uptime application.

Quickstart

utils/Quickstart.sh

Sample Query

Get productivity for the past 12hrs.

WITH averaged_samples AS (
  SELECT
    BIN(time, 12m) AS time_bin,
    id,
    AVG(CAST(current AS BIGINT)) AS averageValue
  FROM "tableName".database 
  WHERE measure_name = 'a_rms'
  AND id in ('aaa', 'bbb')
  AND time >= ago(12h)
  GROUP BY BIN(time, 12m), id
)
SELECT 
  time_bin AS time,
  id,
  averageValue
FROM 
  averaged_samples
ORDER BY 
  time_bin, 
  id

Examples

Day (dark mode)

Day visuals

TODO

  • Add tests

About

Various graphics experiments with Flutter.

License:MIT License


Languages

Language:Dart 94.9%Language:HTML 2.3%Language:Shell 1.7%Language:Swift 0.9%Language:Kotlin 0.2%Language:Objective-C 0.0%