DEV Community

loading...
Cover image for ArcType - Easy Math Documents

ArcType - Easy Math Documents

zevanrosser profile image Zevan Rosser ・2 min read

In 2015 I was writing lots of short recreational math documents. To aid myself in the creation of these, I built ArcType.

shotz

ArcType is a minimalistic editor that combines LaTeX, Markdown, HTML/CSS, gnuplot and Octave all in one place. A few months back I took ArcType and finalized it so that others could use it. It’s free and you can download your creations. Both the welcome screen and the helpfile cover most of the features available to you. Check it out here…

Here is a link to some of the docs I created…

shotz

It’s pretty self-explanatory - planning to do a tutorial about it soon. In the meantime, give this code a shot if you’re looking for more to play with than just the welcome/about demos.

# Modified Bicuspid Curve
*by Zevan Rosser*

Original equation from somewhere on [this page](https://en.wikipedia.org/wiki/Quartic_plane_curve)

@@
(x^2 - a^2)(x - a)^2 + (y^2 - a^2)^2 = 0
@@


@@@@
%-> width: 70%; min-width: 300px;
a = 1.21;
lx = -2:0.1:2;
ly = -2:0.1:2;
[x,y] = meshgrid(lx, ly);
z = (x.^2 - a^2) .* (x - a).^2 + (y.^2 - a^2).^2;

contourf(x, y, z, -3.9:0.3:1, 'LineWidth', 0);
colormap(1 - gray);
axis([-1.5, 2, -2, 2]); 
@@@@

the above will render this
shotz

There's only really one known issue on my radar - which is just the 5mb limit for localStorage... I'm sure there are other bugs - so if you decide to make something real with it - please save your work often ;)

If you have questions - feel free to post them here and I'll do my best to respond. If you make something cool with it - I'd love to see it.

Enjoy :D

Discussion (0)

pic
Editor guide