boxen.fun 711 B

123456789101112131415161718192021222324252627282930313233
  1. #import std
  2. #import nat
  3. #import plo
  4. #import flo
  5. #import ren
  6. boxen =
  7. block2 rendering* (*-0 block4 'ihs+ohs+ims+oms+ils+ols+')*- visualization[
  8. picture_frame: ((150.,150.),()),
  9. abscissa: axis[hats: <'',''>,hatches: <0.,1.>],
  10. pegaxis: axis[hats: <'',''>,hatches: <0.,1.>],
  11. ordinates: <axis[hats: <'',''>,hatches: <0.,1.>]>,
  12. curves: curve$[peg: ~&hl,points: *-0.+ ~&rS]* |=&l ~&iiK0 ari11/0. 1.]
  13. #output dot'tex' ~&
  14. boxel =
  15. -[
  16. \begin{tabular}{ccc}
  17. \toprule
  18. & \multicolumn{2}{c}{zoom}\\
  19. \cmidrule{2-3}
  20. eye level & in & out\\
  21. \midrule
  22. -[--<'\\'> mat'\\' ~&p(
  23. --' &'* <'high','medium','low'>,
  24. mat'&'* (:/'$\begin{array}[c]{c}'+ --<'\end{array}$'>)** boxen)]-
  25. \bottomrule
  26. \end{tabular}
  27. ]-