Ir para o conteúdo

Software livre Brasil

Tela cheia Sugerir um artigo
 Feed RSS

XPM Image

11 de Junho de 2011, 0:00 , por Software Livre Brasil - | Ninguém está seguindo este artigo ainda.

XPM Image is a command-line script to generate XPM images based on math formulas and gradient pallets.

Usage Example: Fireball

$ image 40 40 '((x-19.5)^2+(y-19.5)^2)/398' FF9,F90,900 > fireball.xpm

See the examples page to a fast understanding about how to use.

Performance goes up like a rocket with BC

11 de Junho de 2011, 0:00, por Software Livre Brasil

I had presumed but i never had thought how much the performance can grow when giving some logic from BASH to BC. Ok... We all know, BASH is some of the slowest languages in the world, but BASH scripts that hard work with math can be as fast as other languages if we let some logic to the BC, an arbitrary precision numeric processing language.