Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

KanjiVG viewer

1 view
Skip to first unread message

Ben Bullock

unread,
Jun 16, 2009, 5:37:16 AM6/16/09
to
In case anyone here is interested, here is a primitive stroke diagram
viewer I made:

http://kanjivg.lemoda.net/

Sean

unread,
Jun 16, 2009, 11:30:44 AM6/16/09
to

Very nice. As you warned, the SVG on the left didn't display in Firefox
until I clicked on the little "broken graphic" icon, but it displayed
right away in Safari.
I looked at 鹿 (to match the 馬 that was there at the start, naturally),
and 議. With the kanji of many strokes like 議, the stroke order
numerals were quite jumbled. I wondered if a smaller font for those
numerals would help this.

The PNG on the right is great, and would be useful just by itself.
Learners at a certain stage may have pretty much mastered the stroke
order principles, but they will really benefit from seeing the kanji so
clearly displayed. Even if they don't know how the colours are
indicating stroke order, the colours will help them see which bits *are*
discrete strokes.

Ben Bullock

unread,
Jun 18, 2009, 9:54:36 AM6/18/09
to
On Tue, 16 Jun 2009 15:30:44 +0000, Sean wrote:

> Ben Bullock wrote:
>> In case anyone here is interested, here is a primitive stroke diagram
>> viewer I made:
>>
>> http://kanjivg.lemoda.net/
>
> Very nice. As you warned, the SVG on the left didn't display in Firefox
> until I clicked on the little "broken graphic" icon, but it displayed
> right away in Safari.

I've ditched the SVG now. I think the PNG is enough. I probably should
make a non-javascript version too.

> I looked at 鹿 (to match the 馬 that was there at the start, naturally),
> and 議. With the kanji of many strokes like 議, the stroke order numerals
> were quite jumbled. I wondered if a smaller font for those numerals
> would help this.

I have now put numbers on the strokes of the PNG diagram. Positioning the
numbers well is a fairly complex problem though. At the moment they are
plonked a distance away from the end point on a line through the start
point and the end point of the stroke, which works OK for straight lines
but not for curved ones.

It seems from this discussion

http://groups.google.co.jp/group/kanjivg/browse_thread/thread/
ba42421218728c6d?hl=en

on the KanjiVG mailing list that originally Ulrich Apel put the positions
for numbers in the data file, but Alexandre Courbet removed them from the
final release because "they should be computed". I've challenged him to
tell me what algorithm he would use.



> The PNG on the right is great, and would be useful just by itself.
> Learners at a certain stage may have pretty much mastered the stroke
> order principles, but they will really benefit from seeing the kanji so
> clearly displayed. Even if they don't know how the colours are
> indicating stroke order, the colours will help them see which bits *are*
> discrete strokes.

I've now added numbers with the same colours as the strokes. This is all
provisional at this stage though.

I really do like the kanji files that Ulrich Apel released. I have no
idea how they were made, but they seem to be very high quality.

--
sci.lang.japan FAQ: http://www.sljfaq.org/

Michael Gardner

unread,
Jun 18, 2009, 10:20:58 AM6/18/09
to
Ben Bullock wrote:
> I've ditched the SVG now. I think the PNG is enough. I probably should
> make a non-javascript version too.

I think SVG is a great idea for this, but you should make it a separate
option or something. That way those who can use SVG get scalable images,
and save some bandwidth too (I'm sure the PNGs are small, but compressed
SVGs would surely be way smaller).

Ben Finney

unread,
Jun 18, 2009, 10:54:52 PM6/18/09
to
Michael Gardner <gard...@gmail.com> writes:

Seconded. Please provide SVG, it makes the most sense for these types of
image. Browser support for SVG is already good only going to increase.

--
\ “For every complex problem, there is a solution that is simple, |
`\ neat, and wrong.” —Henry L. Mencken |
_o__) |
Ben Finney

Ben Bullock

unread,
Jun 19, 2009, 11:29:09 PM6/19/09
to
On Fri, 19 Jun 2009 12:54:52 +1000, Ben Finney wrote:

> Browser support for SVG is already good only going to increase.

I think browser support for SVG is not very good. I had a lot of problems
getting the images to display, with internet explorer (the most popular
browser) not being able to display them at all, and firefox requiring
special syntax (not being able to just use <img> tag). Only Google Chrome
seems to support SVG.

Ben Bullock

unread,
Jun 26, 2009, 6:15:20 AM6/26/09
to
For those who wanted an SVG viewer, there is now one available like this:

http://kanjivg.tagaini.net/Kanji/怒
http://kanjivg.tagaini.net/Kanji/檎

I don't have anything to do with this; if you are interested see the
Google Group for KanjiVG for more details.

http://groups.google.com/group/kanjivg

0 new messages