Commons talk:Stroke Order Project

From Wikimedia Commons, the free media repository
Jump to: navigation, search
This talk page is automatically archived by ArchiveBot. Any sections older than 180 days are automatically archived. Sections without timestamps are not archived.
Evolution-tasks.png Pending tasks for Stroke Order Project: edit this list - add to watchlist - purge
Quarantene and/or to delete:
BW
瓦-tred.png
Order> 214 radicals
I just made a stroke order/graph review of radicals from 001 to ~150th, that's quite wonderful. Michelet, there are my comments!
100% China
Mix! O.ô, from ?

http://commons.wikimedia.org/wiki/File:來-order.gif (wrong)

To delete - page or redirect
Project page to manage
  • Link toward good fonts - create
  • Progress pages (Trad, Chinese, Japanese) - improve/create
Expertises & Abilities
  • Swift - HotCat.js.
  •  ? - deletions.
  • Micheletb - animations (advices)
  •  ?, ? - pages' management

Citing authors name?[edit]

The article Wikipedia:Citing Wikipedia clearly states that 'You should not cite any particular author or authors'. So I think that this section is wrong:

You only have to state the: [...] authors: Mostly M4RC0 for -bw.png; Muke and Yug for -red.png; Wikic and Micheletb for -order.gif.

It should instead be put as a recommendation or as a petition, not as part of the license terms, incompatible with those of wikipedia.

The template need a revamp. As of 2018, and given I made far less images than expected, I'am more than willing to release fully my copyrith for a PD license. Wikic, M4rc0, Micheletb made impressive works tho, so need to see with them. --Yug (talk) 19:12, 18 January 2018 (UTC)

Useful Resource[edit]

Potentially useful database of vector character strokes https://github.com/StrokesSVG/StrokesSVG 2001:470:fb41:2:3cb1:fadf:c43e:1a84talk 14:21, 14 February 2016‎ (UTC)

Euh.... Wat the heck! Did someone noticed this link ??? Pretty cool ! --Yug (talk) 19:10, 18 January 2018 (UTC)
Euh.... guys... this dev made 1766 files in -red.svg....... Our company will have to close. Face-grin.svg Yug (talk) 19:35, 18 January 2018 (UTC) PS: just asked the license.
Not, just, yet !!! Face-grin.svg Yug (talk) 19:44, 18 January 2018 (UTC)
Ok. The License is not stated and the creator seems anonymous and inactive since 2016. The strokes.sql file is from unknown source. Potential copyright kicks in. What one can do is to
  1. Hack this NodeJS program (see todo, but in larger than 300px)
  2. Runs it to generate 1766 {characters}-red.svg
  3. Use imagemagick convert to convert back to png and 300px via $magick convert roseFlower.svg -resize 50% roseFlower.png
  4. Mass upload to commons
The shape themselves being Kaishu shapes from 2000 years ago, they are under PD license. The data (sql converted into xml) is, potentially, under copyright so no svg can be uploaded. Yug (talk) 20:11, 18 January 2018 (UTC)
Failed. I hacked it but a strokes.db database is missing while the strokes.sql files doesn't work. I don't find any conversion process
New avenue :
  1. [works] remove grid sed -i 's/<path d="M 0 0 L 270 270 M 270 0 L 0 270 M 135 0 L 135 270 M 0 135 L 270 135" stroke="#CCCCCC" \/>//g' ./test2/*.
  2. [works] to png $convert -background none -density 1200 ./test3/債.svg -resize 300x300\! resize_dragon300.png
I will slay that 💩 ! Face-smile.svgYug (talk) 23:38, 18 January 2018 (UTC)
Done ! :D. I need a bot. Yug (talk) 00:32, 19 January 2018 (UTC)
Tumbleweed Blooming.jpg
Back tracking !!!! While done, I still have some doubt about the copyright of this upper method since I now simply convert existing colored SVG characters. While miroring our reds gradiants, this coloring are resulting from the developer's program and choices, so while characters shapes are PD, the red gradients within the repository may be copyrighted. I don't think such copyright is really defensible in court... but could be, and some commonist may one day request deletion on this basis which would be simply annoying.
I tried to find out the author, and the datasource, but couldn't.
... (wind blowing dry dust in the desert, bush rolling across the path)
I however found some unknown recent, ongoing, kaishu effort on the side of Chinese characters and CJK stroke order. The project is quite impressive, with 9,508 characters cuted into strokes, and the 1024-based xml data is in an usable format to recreate svgs. Seems a good way to go. Face-grin.svg Yug (talk) 17:49, 19 January 2018 (UTC)

Given a folder with relevant red style svgs with unknown dimensions.

mkdir -p ./temp ./png                                  # create folders to work on copies of data and store final png output
cp ./* ./temp                                          # copies svgs to ./temp, so to word on copies 
sed -i 's/<path d="M 0 0 L 270 270 M 270 0 L 0 270 M 135 0 L 135 270 M 0 135 L 270 135" stroke="#CCCCCC" \/>//g' ./temp/*     # delete background cross in all files in ./temp (depending on your svgs!) 
for file in ./temp/*.svg                               # loop on the [edited] copies in ./temp
do
  keyZi==$(basename "$file" .svg)                      # name of the file minus .svg 
  keyRed=$(basename "$file" .svg)-red.svg              # name of the file minus .svg, plus .-red.svg 
  convert -background none -density 1200 ./temp/($keyZi).svg -resize 300x300\! ./png/$keyRed      # /!\ not sure for the brakets syntax in ($keyZi)
done

If using this method, it needs the svg's authors agreement due to copyrights on color scales. Yug (talk) 10:09, 8 February 2018 (UTC)

HSK VOCABULARY[edit]

At least all the official characters in the HSK levels should have one --Backinstadiums (talk) 17:27, 18 November 2017 (UTC)

@Backinstadiums: Of course, that’s the goal, but not all of us have time to make them. If you have time, you can help us out. Justinrleung (talk) 19:11, 18 November 2017 (UTC)
@Justinrleung: I meant that's a good criterion to work on, but I do not know how to compare both dabases, namely HSK vocabulary and characters with a strokes gift, could you do it please?. Secondly, at least I can do mere 'mechanical, manual' work because I do not have much time to study new processes. --Backinstadiums (talk) 19:43, 18 November 2017 (UTC)
@Backinstadiums: Sorry for misunderstanding. There's a list based on some simplified Chinese standard, but not HSK. I hope that would do, since I think all of the HSK characters should be in that list. (BTW, it's gif, not gift.) Justinrleung (talk) 21:18, 18 November 2017 (UTC)
@Backinstadiums:, @Justinrleung:, the HSK2012 6 levels lists are there if you need them. Could be handy. Yug (talk) 19:09, 18 January 2018 (UTC)

stroke order exceptions[edit]

It would be great to find a dabase/list of characters whose stroke order is different from the one to be expected according to the standard guidelines 现代汉语通用字笔顺规范.

Prof. Yin mentions in the "Routledge's Encyclopedia of Chinese" 女 as a simple example.

Eventually, the characters that do not follow the standard guidelines should be arranged into groups according to the "type of irregularity", which would be very useful both for lexicographic and learning purposes.

Maybe the info. necessary can be gathered form new input methods' lists of sequences as well as from stroke order gifs. Then it would be manually checked. --Backinstadiums (talk) 12:49, 30 November 2017 (UTC)

Prof. Yin's chapter is really cool. We must add a References sections, like the ACC project. --Yug (talk) 19:06, 18 January 2018 (UTC)