Plasma effect: Difference between revisions

Content added Content deleted
(J draft)
m (J: bugfix)
Line 12: Line 12:
=={{header|J}}==
=={{header|J}}==
[[File:J-viewmat-plasma.png|200px|thumb|right]]
[[File:J-viewmat-plasma.png|200px|thumb|right]]
<lang j>plasma=: 3 :0
<lang j>require'trig'
plasma=: 3 :0
'w h'=. y
'w h'=. y
X=. (i. % <:) w
X=. (i. % <:) w