A javascript script which draws strings within the "Year contribution" canvas
-
You can either copy the content of the script in the browser's console or use greasemonkey / tampermonkey to integrate the script.
-
Call the function
apply(w, bg_color, color)
Parameters | Description |
---|---|
w |
The word you want to apply ( at the moment, the script will only prints the first 7 letters ) . DEFAULT = HELLO |
bg_color |
The background color. DEFAULT = #ebedf0 |
color |
The letters' color. DEFAULT = #239a3b |
If you want to play around with the script you can
- Clone the repo into a directory and change the current directory.
- Run a local webserver. E.g. (If you have PHP installed)
php -S localhost:8000
- Open a browser and go to
localhost:8000
- Change values
- Copyright 2020 © Annino De Petra