Giter Site home page Giter Site logo

santhoshtr / metapost-sandbox Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 0.0 1.6 MB

Try Metapost quickly and easily with our online sandbox application!

Home Page: https://mpost.thottingal.in/

License: MIT License

Dockerfile 0.08% Python 1.55% CSS 4.13% JavaScript 91.85% HTML 2.39%
metafont metapost online preview-environment previewer sandbox sandbox-playground

metapost-sandbox's Introduction

Metapost Sandbox

Try Metapost quickly and easily with our online sandbox application! View and preview your results in a user-friendly interface. Perfect for anyone wanting to experiment with Metapost without the hassle of setting up an environment. Start creating illustrations now!

Try now!

Usage

Installation

Clone the repository. Install the system dependencies:

sudo apt install wget unzip build-essential cmake texlive-metapost

Create a python virtual environment and install dependencies

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Run it:

uvicorn app.main:app

Features

  • Code editor with syntax highlighting for Metapost
  • Live preview of the SVG generated from the code. No need to manually run it
  • Logs of compiling the code from metapost is available for debugging.
  • (todo) Saving the code in browser indexdb to continue from where you stopped.

Familiarize with Metafont, MetaPost

Familiarizing with the concepts of MetaFont and MetaPost are essential. In this guide, we are not going to explain this, but will provide a list of good tutorials to use.

It is important to practice MetaPost rather than just reading the book. Use this sandbox tool for practicing.

Docker

docker build -t mpostsandbox .
docker run -d --name mpostsandboxcontainer -p 80:80 mpostsandbox

metapost-sandbox's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.