Anonymous user
Barnsley fern: Difference between revisions
Using Real Math module
(Added solution for Action!) |
(Using Real Math module) |
||
Line 28:
=={{header|Action!}}==
{{libheader|Action! Tool Kit}}
{{libheader|Action! Real Math}}
<lang Action!>INCLUDE "
BYTE CH=$02FC,COLOR1=$02C5,COLOR2=$02C6
Line 48 ⟶ 49:
ValR("1.6",r160)
RETURN
PROC Fern(REAL POINTER scale)
Line 76 ⟶ 61:
RealMult(x,scale,tmp1)
RealMult(y,scale,tmp2)
ix=
iy=
IF (ix>=0) AND (ix<=319) AND (iy>=0) AND (iy<=191) THEN
|