• Stars
    star
    343
  • Rank 118,896 (Top 3 %)
  • Language
    TypeScript
  • Created almost 3 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Minimalist graphical editor

minimator.

minimalist graphical editor1

Horizontal lines, vertical lines, quarter circles and that's it. Try minimator.app

Development

If you're brave enough to run it on your machine, here is the procedure.

# 1. Install dependencies
npm install

# 2. Run the build
npm start

# 3. Serve the repository over HTTP
# In another window, please run one of the following
python3 -m http.server     # For python3
python -m SimpleHTTPServer # For python2
http-server -p 8000        # For NPM pkg http-server

# 4. Go to http://localhost:8000

To add tests, import it in src/tests/list.ts then check the console in http://localhost:8000/dev.html

FAQ (aka, tell my life to strangers)

Why is there no proper build system?

Because the TypeScript compiler and modern web features (webcomponents, imports, css variables) are enough to build a nice app. No need to bloat this tiny thing. Of course it's not super optimised in terms of load speed, but let's enjoy the benefits of modern HTTP.

Why rewrite a test runner?

Because I wanted to have a tiny thing to run a few basic tests at a time when I had no internet. Mostly for fun and the challenge. I am aware it's absolutely pointless, but the plan was to switch to an established library hence the API is similar.

I mean I know it's weird but it was fun to build everything. Frameworks are great and are definitely more optimised and tested.

Why is this for free?

I wanted to build a graphical editor for tablet first, as enjoyable (gesture-wise) as Procreate. The end-goal would have been a way to push it to a plotter to print creations. I was considering having a donate button to buy a big plotter and print the best creations to send them to donators. But I don't believe one second this project would make enough bucks to buy a tiny A4 plotter, plus I'm not sure about how to declare this to HMRC so I'll pass on that.

However, as for most of my projects, it's for my own pleasure first. If it's fun enough for other people: that's great but not the goal.

It took me a while to finish this project. Not because of time or motivation, but because I was playing with it too much during the development process. Just for that, this project met the original requirements: having fun.


Footnotes

  1. minimalist is also an excuse to explain the lack of features that I'm too lazy to implement. ↩

More Repositories

1

vivus

JavaScript library to make drawing animation on SVG
JavaScript
14,931
star
2

vivus-instant

Single page app to create independent stroke animated SVGs
JavaScript
307
star
3

breaklock

Web game, hybrid of Mastermind and the Android pattern lock
JavaScript
288
star
4

triangulart

Dummy graphic editor to make isometric illustrations
JavaScript
138
star
5

triangulr

JavaScript class to generate maps of triangles
HTML
71
star
6

hexabeat

A music sequencer using commits
TypeScript
44
star
7

ghoster

Remove the white color from an image to make it transparent
JavaScript
34
star
8

tetrispad

Use the Novation Launchpad to play Tetris
JavaScript
28
star
9

wallery

Generate a map from a list of displayable elements
JavaScript
21
star
10

commitbeat

Generate small sequence of music from commit SHA
JavaScript
13
star
11

life-in-the-uk

HTML
12
star
12

palette

Angular app to generate color palettes
JavaScript
8
star
13

graxel

HTML
8
star
14

es6-quiz-slides

ECMA Script 6 quiz built with reveal.js
CSS
6
star
15

flipbits

The best random powered AI to take decisions
JavaScript
5
star
16

drafts

A place to put some drafts and examples
JavaScript
4
star
17

zapper

Injectable script to kill popup and banners
JavaScript
4
star
18

chromecast-canal-plus

JavaScript injection to cast videos from canalplus.fr
JavaScript
3
star
19

shuntr

Chrome extension boilerplate to define redirection rules
JavaScript
3
star
20

weluvarte

JavaScript injection to get video file links from arte.tv
JavaScript
2
star
21

tilt

A trolling attempt to change tech habits
HTML
2
star
22

a-playground

Personal A-Frame playground
JavaScript
2
star
23

me-from-the-past

PWA to send message to your future yourself [experimental]
JavaScript
1
star
24

liwe-talk

Liwe introduction at LNUG (23rd June 2015)
1
star