Skip to content

jamoflaw/milton

 
 

Repository files navigation

MiltonLogo

Milton is an open source application that lets you Just Paint.

There are no pixels, you can paint with (almost) infinite detail. It feels raster-based but it works with vectors. It is not an image editor. It is not a vector graphics editor. It is a program that lets you draw, sketch and paint. There is no save button, your work is persistent with unlimited undo.

Stories in Ready Join the chat at https://gitter.im/serge-rgb/milton

Milton Paint ss

zoooom

What Milton is not:

Milton is not an image editor or a vector graphics editor. It's a program that lets you draw, sketch and paint.

User Manual

If the GUI makes something not-obvious, please create a github issue!

It's very helpful to drag the mouse (or pen) while pressing space to pan the canvas. Also, switching between the brush and the eraser with b and e. You can change the brush size with [ and ] and control the transparency with the number keys.

Here is the latest video tutorial

Check out the patreon page if you would like to help out. :)

Milton is Windows only at the moment. Linux and OSX support is intended for the future, but I don't know when that will come.

How to Compile

Windows

Milton currently supports Visual Studio 2015.

Other versions of Visual Studio might not work.

To build:

Run cmd.exe and type the following

build.bat

Milton will be compiled to build\win64-msvc-debug-default\Milton.exe

Alternatively, to build with clang open build.bat and change the value of doUnityClangBuild to 1. It assumes that you have LLVM and the Windows 10 SDK installed.

Linux

Porting in progress.

Building

Library and header dependencies:

  • X11
  • SDL2
  • OpenGL
  • XInput
  • GTK2

Release build using CMake:

mkdir build
cmake ..
make
./Milton

There are some CMake options you might care about:

flag type does
TRY_GL2 bool Tells Milton to target OpenGL2.1. Does not guarantee that such a context will be created. This is the default Release target.
TRY_GL3 bool Tells Milton to target OpenGL3.2. Does not guarantee that such a context will be created. This is the default Debug target.
CMAKE_BUILD_TYPE string Configures the build type. Defaults to Release. Available build types are: Release and Debug.

Example debug build using GL2.1: cmake -DCMAKE_BUILD_TYPE=Debug -DTRY_GL2=1 ..

OSX

No OSX support at the moment.

License

Milton

Copyright (C) 2015 - 2017 Sergio Gonzalez

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Thanks

Milton is made with love by Sergio Gonzalez with the help of awesome people.

About

A modern paint package

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 36.9%
  • Lua 33.4%
  • HTML 13.5%
  • C 12.2%
  • GLSL 2.4%
  • Objective-C++ 0.8%
  • Other 0.8%