all fig versions (plus example programs)


fig 5.1 is the latest version => ../2022/fig51.py.html fig51.py => ../2020/fig50.py.html fig50.py => ../2020/fig49.py.html fig49.py => ../2020/fig48.py.html fig48.py => fig46.py => fig45.py => fig44.py => fig43.py => fig42.py => ../2017/fig41.py.html fig41.py => fig31.py => fig30.py => fig29.py => fig28.py => fig27.py => fig26.py => fig25.py => fig24.py => fig23.py => fig22.py => fig21.py => fig20.py => fig19.py => fig17.py => fig16.py => fig15.py => fig14.py => fig13.py => fig12.py => fig11.py => fig10.py => fig09.py => fig08.py => fig07.py => fig06.py => fig05.py => fig04.py ### quick, seven-part introduction to coding for those new to coding (or new to fig) => ../figconcepts ### example fig programs: graphics => ../2019/best.fig.html best.fig => fig_screencaps/best.fig_thumb.jpg => ../2016/cb.fig.html cb.fig => fig_screencaps/cb.fig_thumb.jpg => ../2019/cd.fig.html cd.fig => fig_screencaps/cd.fig_thumb.jpg => ../2016/circl.fig.html circl.fig => fig_screencaps/circl.fig_thumb.jpg => ../2019/circle.fig.html circle.fig => fig_screencaps/circle.fig_thumb.jpg => ../2019/cirs.fig.html cirs.fig => fig_screencaps/cirs.fig_thumb.jpg => ../2017/doubl.fig.html doubl.fig => fig_screencaps/doubl.fig_thumb.jpg => ../2019/figsp.fig.html figsp.fig => fig_screencaps/figsp.fig_thumb.jpg => ../2019/figsph.fig.html figsph.fig => fig_screencaps/figsph.fig_thumb.jpg => ../2019/floral.fig.html floral.fig => fig_screencaps/floral.fig_thumb.jpg => ../2019/fun.fig.html fun.fig => fig_screencaps/fun.fig_thumb.jpg => ../2019/gemseven.fig.html gemseven.fig => fig_screencaps/gemseven.fig_thumb.jpg => ../2017/gfx.fig.html gfx.fig => fig_screencaps/gfx.fig_thumb.jpg => ../2017/rgb.fig.html rgb.fig => fig_screencaps/rgb.fig_thumb.jpg => ../2017/sines.fig.html sines.fig => fig_screencaps/sines.fig_thumb.jpg => ../2017/sp.fig.html sp.fig => fig_screencaps/sp.fig_thumb.jpg => ../2017/vsine.fig.html vsine.fig => fig_screencaps/vsine.fig_thumb.jpg ### example fig programs: simple, introductory code => ../2018/1616.fig.html 1616.fig => ../2018/abs.fig.html abs.fig => ../2018/area.fig.html area.fig => ../2018/arr.fig.html arr.fig => ../2018/az.fig.html az.fig => ../2018/back.fig.html back.fig => ../2018/center.fig.html center.fig => ../2018/cheese.fig.html cheese.fig => ../2018/cls.fig.html cls.fig => ../2018/cmd.fig.html cmd.fig => ../2018/colors.fig.html colors.fig => ../2018/dt.fig.html dt.fig => ../2018/efig2.fig.html efig2.fig => ../2018/efp.fig.html efp.fig => ../2018/fco.fig.html fco.fig => ../2018/ffile.fig.html ffile.fig => ../2018/fig-call-python-tranlation-of-fig-function.fig.html fig-call-python-tranlation-of-fig-function.fig => ../2018/figcolor.fig.html figcolor.fig => ../2018/figd.fig.html figd.fig => ../2018/filewords.fig.html filewords.fig => ../2018/fishsyntax.fig.html fishsyntax.fig => ../2018/fl.fig.html fl.fig => ../2018/for.fig.html for.fig => ../2018/forloop.fig.html forloop.fig => ../2018/funcn.fig.html funcn.fig => ../2018/funcname.fig.html funcname.fig => ../2018/ge.fig.html ge.fig => ../2018/ghw.fig.html ghw.fig => ../2018/h.fig.html h.fig => ../2018/heh.fig.html heh.fig => ../2018/hello.fig.html hello.fig => ../2018/hff.fig.html hff.fig => ../2018/hmm.fig.html hmm.fig => ../2018/ifless.fig.html ifless.fig => ../2018/inc.fig.html inc.fig => ../2018/inline.fig.html inline.fig => ../2018/int.fig.html int.fig => ../2018/lists.fig.html lists.fig => ../2018/locate11.fig.html locate11.fig => ../2018/lr.fig.html lr.fig => ../2018/makeint.fig.html makeint.fig => ../2018/math.fig.html math.fig => ../2018/meh.fig.html meh.fig => ../2018/mn.fig.html mn.fig => ../2018/nestloops.fig.html nestloops.fig => ../2018/now.fig.html now.fig => ../2018/pink.fig.html pink.fig => ../2018/pset.fig.html pset.fig => ../2018/rcol.fig.html rcol.fig => ../2018/rev.fig.html rev.fig => ../2018/root.fig.html root.fig => ../2018/st.fig.html st.fig => ../2018/topwr.fig.html topwr.fig => ../2018/uf.fig.html uf.fig => ../2018/v.fig.html v.fig => ../2018/valid.fig.html valid.fig => ../2018/wc.fig.html wc.fig ### example fig programs: command line tools => ../2018/arrdo.fig.html arrdo.fig similar to xargs, prefix each line of stdin with input text and run in the shell => ../2017/arrlen.fig.html arrlen.fig prefix each line of stdin with its length => ../2018/arrname.fig.html arrname.fig for find output, arrname 1 returns path, arrname 2 returns basename, arrname 3 returns extension => ../2019/colourfind.fig.html colourfind.fig for find output, shows filesize and filepath in colour by type, -d adds date and time => ../2019/dircmp.fig.html dircmp.fig similar to diff, display items not common in subfolder listings or text files => ../2018/egrepv.fig.html egrepv.fig not very much like egrep, remove lines from stdin that match input lines exactly => ../2019/figcmp.fig.html figcmp.fig prefix => ../2018/findsim.fig.html findsim.fig takes ages to run, compares file contents for similarity => ../2018/foldermap.fig.html foldermap.fig => ../2020/foldermap02.fig.html foldermap02.fig not displayed properly by wiki. produces html of filesystem => ../2019/groupsortlen.fig.html groupsortlen.fig sorts groups of consecutive lines of text by the number of lines in each group => ../2018/installcolorama.fig.html installcolorama.fig install colorama for windows users with python in c:\python27 => ../2019/nodup.fig.html nodup.fig only display lines of stdin that do not contain previous lines-- "hi", "hip" filters out "hip" => ../2019/showtwo.fig.html showtwo.fig display two files side-by-side, with first file limited to specified width ### example fig programs: text-based silliness => ../2018/asciimint.fig.html asciimint.fig => fig_textmode_screencaps/asciimint.fig_thumb.jpg => ../2019/bestwithpygameinstalled.fig.html bestwithpygameinstalled.fig => fig_textmode_screencaps/bestwithpygameinstalled.fig_thumb.jpg => ../2019/cf.fig.html cf.fig => fig_textmode_screencaps/cf.fig_thumb.jpg => ../2019/cubes.fig.html cubes.fig => fig_textmode_screencaps/cubes.fig_thumb.jpg => ../2019/fltext.fig.html fltext.fig => fig_textmode_screencaps/fltext.fig_thumb.jpg => ../2018/hl.fig.html hl.fig => ../2018/kite.fig.html kite.fig => ../2018/kite2.fig.html kite2.fig => ../2018/lovely.fig.html lovely.fig => ../2018/modtext.fig.html modtext.fig => ../2018/prs2.fig.html prs2.fig => ../2018/sincos.fig.html sincos.fig => ../2018/textcirc.fig.html textcirc.fig => ../2018/wheel.fig.html wheel.fig ### example fig programs: other => ../2018/f.fig.html f.fig creates a diagram from lines of text => ../2018/fac.fig.html fac.fig creates a round clock face that is easier to learn to read than standard => ../2018/map.fig.html map.fig demonstrates bringing pythons map feature to fig => ../2018/mkar.fig.html mkar.fig creates a graphic file for the icewm taskbar => ../2018/modtextlarge.fig.html modtextlarge.fig should be in graphics section => ../2018/p3.fig.html p3.fig palindrome detector => ../2018/rc.fig.html rc.fig output all possible combinations of 3 letters with and without recursion => ../2018/recur.fig.html recur.fig simple recursive loop ### "why does pygame print text each time fig starts?" (applies to older pre 5.x versions that still used pygame) if pygame is installed, fig will try to import it. newer versions of pygame print text when it loads. this is fine if youre not running a program that could use the console, but suppressing it in a way that doesnt cause other problems in fig is difficult. as an alternative, it is recommended you run => ../2018/quietpygame.fig.html quietpygame.fig (youll need administrative privileges to modify your pygame installation.)

< main page