CFRS[] Community Demos

This page contains a collection of CFRS[] demos contributed by community members. CFRS[] is an extremely minimal drawing language that consists of only six simple commands: C, F, R, S, [, and ].

To learn more about CFRS[], visit susam.net/cfrs.html or read the manual at github.com/susam/cfrs.

If you create an interesting demo that fits in 64 bytes of code, please create a new post here and share it with the community. If the demo looks interesting, it may be added to this page.

Contents

Dynamic Demos

Dynamic demos contain the S command which makes the turtle sleep for 20 ms. This is often used to produce animation or dynamic effects in the demo. The following subsections present a collection of dynamic demos created by various community members.

Alien Flower

Contributed by btknu on 27 Oct 2023.

[[[RRR[R[R[[CC[[F]S]CCCCCCR]RRRRRR]FF]FR]CCCCCCC[[[FSFFR]]]C]]]

Run It

Crosses

Contributed by btknu on 27 Oct 2023.

[[[[[[FFCF[[RRRRRRR[[[F]]S]]FFFFRRRRF]CCCCCCCRRRFFF]]]R]]]

Run It

Kaleidoscope

Contributed by btknu on 27 Oct 2023.

C[[[[[[[[[R[S[[[F]]CFFCCFFCCFCCCFFFFFFF]]]R]]R]RRFR]]]FRR]FFRR]

Run It

Leaf

Contributed by btknu on 27 Oct 2023.

C[[[[R[R[R[[[F]S]RCFCCCCFCCFFCFFFFFFRRRRRRR]FFCCCC]CCCCFR]]]]

Run It

Rectangular Rush

Contributed by Justin Wong 22 Aug 2024.

R[[[[[[[[[[[[[[[[[[[[[[[[FF]]]]]]]RRF[RRR]]]S]]C]]]RRC]]]]]]]]]]

Run It

Static Demos

Static demos do not contain the S command that makes the turtle sleep for 20 ms. As a result, the static demos are rendered synchronously in a single stroke. The following subsections present a collection of some nice static demos created by the community of CFRS[] artists!

Chequered Pattern

Contributed by btknu on 22 Oct 2023.

[[[[[[[[[[[[[[FFCCFF]]]]]R[[[[[F][[[[FF]F]]]R]]R]]][C]]]RRRR]RR]

Run It

Diamond Pattern

Contributed by btknu on 22 Oct 2023.

[[[R[[C[R[[FFFFFFFFFFFFFFFFF[[[R[[[[F]]]]][[[[F]]F]]]]R]]]R]]]]]

Run It

Bonds

Contributed by btknu on 22 Oct 2023.

[[[C[C[C[[[[[[[[[[F]]]]][[[R[[[[FFRFF]]]]]]]R][[R]]]]R]]]RF]]]]

Run It

Pipes

Contributed by btknu on 22 Oct 2023.

[[C[[[[[[[[[[[[[[F]]]]]]]][[[FR[[[[F]]]]]]R][[R]]]]R]]]]RCFCR]]

Run It

Spokes

Contributed by btknu on 22 Oct 2023.

[[[[[[[[[[[[[[[[F]]]]]]]][[[FR[[[[FRF]]]]]]R][[R]]]]R]]]]RCCF]]

Run It

Lattice Wall

Contributed by btknu on 22 Oct 2023.

[[[[[[[[[[[[[[[[[F]]]]]]]]R]][[[[[[F]]]]]]]RF]]]F]]CC]

Run It

Square Petals

Contributed by btknu on 22 Oct 2023.

[[[[[[[[[[[[[[[[[[[[[F]][[[RF]]]]]]]R]]]]]]R]]]R]C]RF]C]FR]

https://susam.net/cfrs.html#B21FE2B3RFE7RE6RE3RECERFECEFRE>

Windmills

Contributed by MystPi on 23 Oct 2023.

[[[[[[[[[[F]]]]R]]RR]]RRCC]]

Run It

Shaded Parallelograms

Contributed by MystPi on 23 Oct 2023.

[[[[[[[[[[[F[[[F]]]]RRFRR[[[[F]]]][RRR]F[RRR]]]]R]]]RR]]

Run It

Diamond Mat

Contributed by btknu on 24 Oct 2023.

[[[R[[C[R[[FFFFFFFFFFFFFFFFF[[[R[[[[F]]]]][[[[F]]F]]]]R]]]R]]]]]

Run It

Grey Motif

Contributed by btknu on 24 Oct 2023.

[[[[[[[[[[[[[[[[[FF]]]]]][R]]][FF]]]]]RR]]R]]]

Run It

Turkish Carpet

Contributed by Artyom Bologov on 10 May 2024.

[[[[[[[[[[[CFFRRFFRRFRRRRRRFF]RRRR]RR]RRRR]RR]RRR]RRR]RRR]RRR]]]

Run It

Slanting Circles

Contributed by Justin Wong on 22 Aug 2024.

[[[[[[[[[[FFRRF[RRR]]FRRF[[RRR]FRRFF]FF]FFFFRRRR]]]]]]]FFFFRRRR]

Run It

Contributors

All contributors featured on this page:

See Also

If you enjoyed these demos, see also:

Thank you for visiting this page!