Wallpaper generator


#1

Wallpaper generator


My setup: margin-left=10, margin-right=10, margin-top=10, margin-bottom=50

Purpose

Creates a wallpaper based on your progress on WaniKani

Usage

Open config.ini and enter your api-key.

Options available to set from config or commandline:

  -k [ --apikey ] arg                 API key

  -w [ --width ] arg (=1920)          Width of wallpaper

  -h [ --height ] arg (=1080)         Height of wallpaper

  -o [ --out ] arg (=out.png)         Output filename

  -f [ --font ] arg (=ipag.ttf)       Relative or absolute font filepath

  --margin-left arg (=0)              Space to leave blank to the left

  --margin-right arg (=0)             Space to leave blank to the right

  --margin-top arg (=0)               Space to leave blank to the top

  --margin-bottom arg (=0)            Space to leave blank to the bottom

  --color-background arg (=0x000000)  Color for background

  --color-unseen arg (=0x303030)      Color for unseen characters

  --color-apprentice arg (=0xDD0093)  Color for apprentice characters

  --color-guru arg (=0x882D9E)        Color for guru characters

  --color-master arg (=0x294DDB)      Color for master characters

  --color-enlightened arg (=0x0093DD) Color for enlightened characters

  --color-burned arg (=0xFFFFFF)      Color for burned characters

  --color-error arg (=0xFF0000)       Color for error'ed characters

Browser version (Javascript)

http://hexagenic.github.io/wanikaniwallpaper-js/

Desktop version (C++)

Source: https://github.com/Hexagenic/wanikaniwallpaper
Windows (32-bit): https://dl.dropboxusercontent.com/u/412571/wanikaniwallpaper-windows-1.1-2.zip
Linux (x86): https://dl.dropboxusercontent.com/u/412571/wanikaniwallpaper-linux-1.2-2.tar.gz

Alternate versions

Go (by rootnode)
Source: https://github.com/Kintaro/wanikaniwallpaper-go
Javascript (by DanielB)
Live: http://dbowring.github.com/wanikani-wallpaper-js
Source: https://github.com/dbowring/wanikani-wallpaper-js
JavaScript (by tobuei's brother)
Live: http://nyaabuilder.nfshost.com/wanikani
Source: http://nyaabuilder.nfshost.com/wanikani/wanikani.zip
Python (by csp)
Live: http://wanikani-wetube.dotcloud.com
Source: https://github.com/cinemascop89/wanikani
C# (by Dakoina)
Live: http://wanikaniwallpaper.azurewebsites.net/
Source: https://docs.google.com/file/d/0BwhikhJW8Sredzk2N0lISFVSRFU/edit

Similar Projects

Wanikani Progress Screensaver for OSX: /t/Wanikani-Progress-Screensaver-for-OSX/1583/1 (by MangoTree)

Wanikani Progress Screensaver for OSX
List of WaniKani Kanji in order?
List of API and Third-Party Apps
WaniKani Progress Video [Request More Info]
The New And Improved List Of API and Third Party Apps
#2

This is FANTASTIC. What a great idea! Isn’t there any way to make this a web app so that it’s platform-independent? I don’t know much about this stuff so forgive me if this is a dumb question. ^^;


#3

It could quite possibly be turned into a webapplication, but currently C++ is the only language I’m really proficient in.

I could maybe give it a go in Javascript which I studied last year. But there would be two problems. One, it would be pretty slow (I have no idea how to write efficient javascript code). Two, I don’t have anywhere to host it where It could handle the traffic of Wanikani users :stuck_out_tongue:


#4

If you’re going to use JS I (and probably a lot of people) have a server for that. I don’t think that will be a problem.


#5

This is awesome! I’ll be really excited to use this.


#6

ummmm I know how to compile in linux, but I have no idea how do run this stuff on windows (do makefiles even work in windows?) so if someone would care to explain how to port to windows that would be great


#7

You’d have to set it up as a project in visual studio (or your environment of choice) and then include/link the libraries listed above.

There is a hardcoded path to an IPA font, “/usr/share/fonts/OTF/ipag.ttf”, that you have to change for the windows equivalent, but I’m working on figuring out how to access the font library in a more indirect/platform indepent way.


#8

Very nice. I’m not even going to attempt to build this in Windows, but I’ll definitely be keeping an eye on it.


#9

This is amazing! i’ll difinitely want to use that


#10

Ahh! It looks lovely!


#11

Really looking forward to using this !


#12

Wintry: Ignorant
of compilers, a Windows
version I await.


#13

good work!
looking forward to 1.0


#14

IWANTIT!!!111


#15

Beautiful! It’s like the Matrix is teaching me kanji.


#16

Awesome! I can’t wait! really…is it ready yet?

How about now?

Now please? :smiley:


#17

how about now ? :3


#18

I’m looking forward to this. Also, it would be funny to see it only on linux.


#19

Thank you. This was the perfect opportunity to play around with Go a little bit by porting it over, including command line options for different sizes or maybe different fonts. https://github.com/Kintaro/wanikaniwallpaper-go


#20

This is absolutely amazing!!!  I will be waiting for this with much anticipation!

Thank you akranis and everyone else who adds input to this. ;)