graphical blog 2

françaisIl y a une version française de cet article
englishThis is a variant of the old article from august 2007 called Create a radiating sun, this time, I explain how to do a chromatic circle. The technic is about the same, but the color parameter of the clone tiling is used to achieve the object.

This time I used a triangle 200 long, 32 high (32, not 30 to avoid gap between triangles). After selecting the triangle, remove the color informations, to allow cloning to change color. Go to menu Object => Fill & stroke, then select the ? in Fill and in Stroke tabs.

Go then to Edition => Clone => Create Tiled clones…

  • In Translation tab: insert -100,0 to per column shifting.
  • In Rotation tab: 9° per column ( 360° / 40 = 9°, as there are 40 clones for the whole turn).

For color :

  • In Color tab, at T (Taint) insert 2.5 per column (100 % / 40 = 2,5 %)
  • To obtain red as initial color, click on little flat colored rectangle at the right of Initial color:
  • On RGB (red – green – blue) insert respectivly 255, 0, 0 and 255 for the alpha channel (A)
  • Then, close this window and press the Create button.

Et voila!

I added some black ring and a circle with white radial gradient on this picture to simulate a saturation gradient.

françaisIl y a également une version en français de cet article
englishAs MyPaint(painting application), Pencil (animation application) and Sakura (light, GTK tabbed terminal) are missing on Ubuntu 9.04 (test version) and thant only this version can boot in 64 bits on my Atom 330, I’ve installed from sources these three great pieces of software. For older Ubuntu version (32 or 64bits), GetDeb contain packages for them (MyPaint and Pencil)

Deb package I generated for ubunutu-9.04-alpha6 (amd64/x86_64), Pencil is on only a binary, no package for mypaint 0.7.0:
http://popolon.online.fr/deb/jaunty-amd64/
x86 version:
http://popolon.online.fr/deb/jaunty-i386/

Mypaint:
Install dependencies:
sudo apt-get install build-essential g++ scons swig python2.6-dev libglib2.0-dev python-numpy-dev
Get MyPaint sources:
wget http://download.gna.org/mypaint/mypaint-0.6.0.tar.bz2
And compile/install it
tar xf mypaint-0.6.0.tar.bz2 && cd mypaint-0.6.0
# work with all version including
# git version
scons # (scons -j4 to compile using the 4 Atom330 cores in parallel).
sudo scons prefix=/usr install

An entry is added on menu, but there is to search manually its icon.

I just discovered in link on Mypaint site Drawpile another painting tool that allow several painters to work together by network. I don’t why for, but the stylus pressure is not managed on this tool on my computer.

Pencil:
Install dependencies
sudo apt-get install qt4-qmake libqt4-dev libming-dev
Get Pencil sources:
wget http://downloads.sourceforge.net/pencil-planner/pencil-0.4.4b-src.zip
(The SVN version actually krach).
Compile then install :
unzip -x pencil-0.4.4b-src.zip
cd pencil-0.4.4b-source/
qmake
make # (make -j4 to compile using the 4 Atom330 cores in parallel).
cp Pencil /usr/bin
Then add the menu entry by hand (or launch it using terminal) : Pencil

Sakura
sudo apt-get install cmake libgtk2.0-dev libvte-dev
cd /tmp/ wget http://www.pleyades.net/david/projects/sakura/sakura-2.3.3.tar.bz2
In /usr/local
cmake . && sudo make install
Or in /usr
cmake -DCMAKE_INSTALL_PREFIX=/usr . && sudo make install

Filed under: Pencil, Tutorial in french, animation

Sorry, this entry is only available in Français.

Pencil, I alread described here, is a wonderful animation tool.

I created a eeePC-701/Xandros binary of Pencil-0.4.3b (mirror), this piece of software should need preinstalling libming-0 and libqt4:
sudo apt-get install libming-0 libqt4
And have to be uncompressed using:
bunzip2 Pencil-0.4.3b.xandros.eeepc701.bz2
then launch it…

To compile the last SVN version, on Ubuntu-64 (there still isn’t any package), there is to install packeges libqt4-dev, libqt4-opengl-dev libming0 and libming-dev:
sudo apt-get install libming-0 libming-dev libqt4-dev

Then (on ubuntu-64 as on other distrib without pre-existing binary):
svn co https://pencil-planner.svn.sourceforge.net/svnroot/pencil-planner pencil-planner
then in the directory itself:
With ubuntu (and some other distro?):
qmake-qt4
More generaly on my LFS for example):
qmake
then (on any distro):
make
A Pencil binary (with a uppercase P) sould be created, you just have to copy it where you want (bin directory or your home directory) and execute it, no other files needed.

Les deux principaux outils que j’utilise pour progresser en chinois, sont le dictionnaire étymologique en ligne
zhongwen.com et le génial dictionnaire électronique libre Stardict (mise à jour septembre 2014 : l’ancien dépôt du logiciel Stardict à été remplacé par de moins bon dicos en raison de problèmes de droits sur les dictionnaires, met le lien vers stardict-4 qui contient toujours le logiciel). C’est un simple dictionnaire électronique permettant l’utilisation de nombreux dictionnaires (sur le même site) et d’un treedict (dictionnaire arborescent pour le chinois, contenant des jargons, des classements par clé/trait & pinyin, ainsi que des indicatifs téléphoniques/codes postaux etc… chinois).

Parmis les dictionnaires on trouve des choses intéressantes pour le français également avec le Littré, de dictionnaire de l’académie française (2 révisions), Wiktionnary…, une adaptation du Wikipedia, etc…

Pour le chinois il y a des dictionnaires français< =>chinois avec pinyin (cfdict, 我爱法语…). Des dictionnaires chinois avec exemples grammaticaux (Dict.cn), ou définitions (高级汉语大词典,现代汉语词典).

Il permet également de scanner la sélection sur les dictionnaires en ligne du site de Stardict.

Il contient enfin des accès direct aux principaux traducteurs automatiques en ligne (il suffit d’y écrire ou copier coller le texte, et de choisir le traducteur désiré (Google, Yahoo, Altavista, SystanBox ou Excite japan) et de choisir la langue source et destination.

Pour l’installation, il faut récupérer les dictionnaires désirés (fouiller un peu), à l’adresse http://abloz.com/huzheng/stardict-dic/ (mise à jour septembre 2014 : http://stardict.sourceforge.net/Dictionaries.php a été supprimé), au passage, cette page explique comment l’installer sur les différents systèmes, Sous Linux, placer les dictionnaires dans /usr/share/stardict/dic/ et /usr/share/stardict/treedict/ pour le treedict
Sous windows, placer dans les dictionnaires dans c:\Program files\stardict\dic\ et le treedict dans c:\Program files\stardict\treedict\

Le treedict est disponible ici (dans la section dictionnaire spécial du site).

Par défaut, ce dictionnaire dès qu’on surligne un mot ou que ce soit affiche une bulle de traduction, c’est pratique mais gênant lorsque c’est systématique. Il faut pour éviter cela dans les préférences, modifier dans « Scanner la sélection » :

* Cocher :
[v] Scanner uniquement lorsque la touche d’activation est enfoncée.
* Éventuellement (je trouve ca plus pratique), décocher :
[ ] Cacher le phylactère lorsque la touche d’activation est relâchée
Il suffit d’appuyer sur la touche échappe pour que la bulle disparaisse.
* Choisir la touche utilisée pour le scan :
Touche d’activation du scan [Win]

J’utilise la touche win de droite qui ne me sert a rien sur mon clavier (utilisant Linux), mais on peut en choisir une autre dans la liste.

Et voila, vous êtes prêt pour l’aventure.

* Il est parfois intéressant pour progresser vite de prendre la traduction fr=>zh et de surligner+touche de bulle une des traductions chinoises proposées, pour trouver celle correspondant le mieux et afin d’obtenir le pinyin.
* Il peut être intéressant d’utiliser les dictionnaires anglais< =>chinois qui sont souvent plus complet (mais ou le pinyin n’est pas toujours présent).

« Newer PostsOlder Posts »

Powered by WordPress

Switch to our mobile site