Giter Site home page Giter Site logo

ping_draw's Introduction

The repository was archived due to the closed service.

ping_draw

A draw implement for Kioubit's IPv6 canvas service.

Supported Actions

  • fill-color: Fill specific color in specific range on the canvas.
  • draw-image: Draw image on the canvas. (Pillow module is REQUIRED!)
  • play-mp4: Draw MP4 video frames on the canvas. (Pillow and opencv-python is REQUIRED!)

Usage

Run python3 -m ping_draw -a <action> -h to see the usage of selected action.

ATTENTION: Probably root permission is needed.

Example

  1. Fill (10, 10) to (30, 30) with black.

    python3 -m ping_draw -a fill-color -sx 10 -sy 10 -ex 30 -ey 30 -r 0 -g 0 -b 0
  2. Draw image /pathto/image.png in loop, and request via source address fd10:1234:5678:90ab:114:514:1919:810.

    python3 -m ping_draw -a draw-image -p "/path/to/image.png" -s "fd10:1234:5678:90ab:114:514:1919:810" -l
  3. Draw mp4 video frames in loop.

    python3 -m ping_draw -a draw-mp4 -p "/path/to/idn_keihin_lcd.mp4" -sx 100 -sy 0 -iw 320 -ih 180 -l

ping_draw's People

Contributors

ricky8955555 avatar iedon avatar

Watchers

 avatar

Forkers

iedon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.