graphical blog 2

8 April, 2010

Mypaint animation 2

Filed under: MyPaint, English tutorial, Tutorial in french, animation, chinese 教育 — Administrator @

I already wrote an article on an animation patch for Mypaint by Charbel Jacquin, and a very short try by mouse, there is now a specific branch with a new functionality (background layers/cellulos layers), that will be merged back in trunk as soon as everything is hidden in preferences, and I’ve no a new Wacom graphic tablet to play with it.

Demo of new functionality(Youtube) local copy:

The new branch can be seen and get from this address, installed and launched as follow. Warning, if you have already installed debian package, you have to remove it, and install last version beside this one (following the same process) in /opt/mypaint-xxx, else you will not be able to save picture/animation because of /usr/lib priority.

Debian based only (Debian, Ubuntu…):

sudo apt-get install g++ python-dev libglib2.0-dev python-numpy swig scons gettext python-protobuf protobuf-compiler

git clone git://gitorious.org/~charbelinho/mypaint/charbelinho-mypaint.git
cd charbelinho-mypaint
sudo scons install prefix=/opt/charbelinho-mypaint
/opt/charbelinho-mypaint/bin/mypaint

6 March, 2010

Mypaint animation

Filed under: MyPaint, English tutorial, Tutorial in french, animation, chinese 教育, extension, software developement — Administrator @

A patch from Charbel Jacquin allow onion skinning function to mypaint, making it a really nice animation tool.
Patched git trunk sources (2010/03/05) (Update 2010/04/07):

Sources : mypaint-animation.0.8.2+git.tar.lzma (lzma/xz) or
mypaint-animation.0.8.2+git.7z (7zip).

Forum thread

demo (on Youtube). I made a copy of the Charbel Jacquin video (youtube channel) at another place for Chineses and Australians:

Keyboard Status Monitor (key-mon) is used for displaying key during video.

Installation (Debian/Ubuntu Linux):

sudo apt-get install g++ python-dev libglib2.0-dev python-numpy swig scons gettext python-protobuf protobuf-compiler
cd mypaint-animation.0.8.2+git/
scons prefix=/opt/mypaint-animation install

usage:
/opt/mypaint-animation/bin/mypaint

You can replace /opt/mypaint-animation by /usr or /usr/local and it will by in the standard path. or you can select any installation prefix you want.

11 February, 2010

How to avoid GPS trace with new cell phone

Filed under: English tutorial, Tutorial in french, network, politics — Administrator @

As everyone love you (oligarchic government, spying services, best friends,…) and want to follow you to protect you, the GPS module that is on every new cell phones today (interesting to add traces and way on OpenStreetMap, but annoying else).

Today there are 4 GPS global positionning satellite network around the world, both permanent members of UNO security council have nuclear weapon to protect you and own GPS network) :
* USA : GPS
* Europe : Galileo (UK/France are permanent members)
* Russia : Glonass
* China : Beidou

GPS receiver has already been used to guide missile to some guys opposed to colonization practises, this usage of GPS to murder only suspect guys seem to grows under Obama administration

(Look also on the subject Does tracking your phone’s location violate your Fourth Amendment rights?)

Turn off GPS function in the menu, doesn’t disable the ability to your phone operator to re-enable it.
Turn off your phone still allow your phone operator to activate, microphone, GPS or anything they want. The only solutions are :
* Go to plane mode (should be verified) because of noise on plane flight instrumentation.
* Remove the battery (there is still a litle internal battery that keep the date and hour in your phone
* disconnect hardware related to unwanted feature (warning of loss of warranty if it’s not a simple plugged connexion), this also give more living time to your battery.

This is a solution for some phones (giving an idea of the methods for other phones) :
How to defeat GPS on your Cell Phone.

4 June, 2009

Volito and other low-end tablet workaround with MyPaint

Filed under: MyPaint, English tutorial, Tutorial in french — Administrator @

I meet since long time a precision bug with my Wacom low-end Volito tablet and MyPaint. This tablet has got a very low precision: 512 level of pressure and then a very low approximation. The Linuxwacom driver send not-null values when stylus come near from tablet surface. This is probably linked to the low precision of this cheap tablet. The information ‘button 1 down’ is correctly only send when the stylus really touch the tablet with little pressure.

The Bolito2 and Bamboo are probably also affected by this behavior, if it’s the case, write a comment here please and thee effect of the workaround. If you see this behavior with xidump (included generally in Wacomtool package) write me a line.
xidump 'Wacom Volito'
to run it in my case.

As Mypaint fondamentally start to stroke as soon as pressure information is given, even if button down event is not sent, this cause to me some headhaches with residual strokes in my drawings. This bug (and following workaround) is also present for the great historic color (button 2) feature of actual SVN version of MyPaint.

The workaround as given by MyPaint author is to modify slightly the main pressure curve of MyPaint.
(Menu Edit=>Settings in pressure tab, shift slightly the left-bottom black square of the curve to the right, then press Save button (Warning, with high value, MyPaint v0.6.0 crash with some tools).

I managed to do another workaround of this bug by using a really low value in the configuration file created after the saving:
~/.mypaint/settings.conf
Thes values give good results:
global_pressure_mapping = [(0.0, 1.0), (0.011, 1.0), (1.0, 0.0)]
(0.011,1.0) values are rounded value after graphicaly playing with curve. I’m not sure exacly but value above about 1.5 or 2.0 (for x) crashed Mypaint with INK tool and pressure at max

3 June, 2009

Create a chromatic wheel with Inkscape

Filed under: Inkscape, English tutorial, Tutorial in french, color/colour, vectorial — Administrator @

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.

« Newer PostsOlder Posts »

Powered by WordPress

Switch to our mobile site