demo "flying x"

Post Reply
User avatar
phase
Posts: 17
Joined: Thu Dec 20, 2012 6:16 pm
Location: Хабаровск

demo "flying x"

Post by phase » Tue Nov 26, 2013 6:28 am

Простая демка.

Code: Select all

w=get_window_xsize
h=get_window_ysize
B=#00ff00
P="X"
col="B"
make_ascii_pixi( P ,col)

metka:
t_reset
transp(16)
clear(BLACK)
transp(sin(a))
effector (#ffff00,64,1,w/2-w,h/2-h,w,h,1)
transp(256)
t_rotate_z(a)
t_scale(4*sin(a),4*sin(a),1)
t_translate(20*sin(3*a),20*cos(3*a),)
//t_translate(,2*sin(a),)
pixi(P,0,0,50)
a+1
frame
go metka

Post Reply