I’m reprogramming from scratch a version of the pack_sprites
command, which should be slightly faster. So far, it seems to be working. I’m going to try and slowly replace the old command in the new one, in the G’MIC-Qt filters.
Here are a few examples of how to use this new command (temporarily renamed pack_sprites2
).
Example 1:
foo :
l[] { repeat 26 { 0 t. {`_'a'+$>`},0,0,${"font Acme,180"},1,${-RGB},255 } a z,0.5 round autocrop s z }
1024,1024,1,4
new_pack_sprites. [0--2],5,50,3,1,5000 k.
drop_shadow. 3,3,1
drgba 255
rs 50%
Example 2:
foo :
palette hsv rs. 16 s x foreach { ball 64,{^} k. }
1024,1024,1,4 t. "G'MIC\nRules!",0.5~,0.5~,${"font SundayMilk,512"},1,255 channels. -3,0
new_pack_sprites. [0--2],10,10,0,0,1000 k.
Example 3:
foo :
sp colorful,1280
100%,100%,1,2
shape_star 48 n. 0,255 r. 100%,100%,1,2
new_pack_sprites.. .,5,20,2,1 rm.
channels. 0 !=. 0
blend shapeaverage0
rs 50%