mailing-list for TeXmacs Users

Text archives Help


Re: [TeXmacs] Drawing a spiral


Chronological Thread 
  • From: Miguel de Benito Delgado <address@hidden>
  • To: "address@hidden" <address@hidden>
  • Subject: Re: [TeXmacs] Drawing a spiral
  • Date: Thu, 25 Jun 2015 22:59:11 +0200

If you find that just writing three lines of gnuplot code is boring then:

It is possible to use scheme code to change the document tree. Graphic elements are part of the document tree (just "View Source" of a file with some graphics in it). Hence, it is perfectly possible to draw spirals from within TeXmacs.

The first time it'll require some work though ;) Maybe you can get some ideas as to how to do it from a small tutorial where we implemented a subset of turtle graphics in scheme. You'll find it in my page at texmacs.org, but download the original texmacs file to play with it if you want to read the file.

There is however no graphics primitive for spirals, so you'll end up with an approximation with points, segments, or splines, depending on how sofisticated your algorithm for the spiral is.

Cheers,

--
Miguel de  Benito.

On Thu, Jun 25, 2015 at 4:04 PM, David Latreyte <address@hidden> wrote:
Hello everybody,

i’am wondering how i could draw a spiral with texmacs. Has anyone an idea ?

Thank you for your help.
Bye


----
David Latreyte
address@hidden








Archive powered by MHonArc 2.6.19.

Top of page