Skip to content

Commit

Permalink
Merge pull request #603 from tuanchauict/release/alpha/1.3
Browse files Browse the repository at this point in the history
v1.3.4 Simplify crossing point algorithm and allow complex combination to joinable
  • Loading branch information
tuanchauict authored Apr 18, 2024
2 parents f7ce614 + 6b21ec3 commit ed8c0df
Show file tree
Hide file tree
Showing 8 changed files with 407 additions and 61 deletions.
74 changes: 41 additions & 33 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,46 @@

# What is it?

Mono Sketch is a client-side only web-based sketch tool for drawing *ASCII diagrams*. You can use
Mono Sketch is a client-side-only web-based sketch tool for drawing *ASCII diagrams*. You can use
the app at [app.monosketch.io][app].

```
┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─
Edge Region 1 │
╭──────────────╮ send msg to ╭──────────────╮ │
/\_/\ │ │╭─────────────┴╮ websocket │╭─────────────┴╮
( o.o ) ◀══════════╰┤╭─────────────┴╮◀═══════════▶╰┤╭─────────────┴╮ │
> ^ < │ ╰┤ Envoy │ sub to this ╰┤Gateway server│
╰──────▲───────╯ channel ╰───────▲──────╯ │
│ ║ │
─ ─ ─ ─ ─ ─ ─ ║ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┼ ─ ─ ─ ─ ┘
/\_/\ ║ │
( o.o ) ◀═══════════════════╝ │ send msg to all GS subs
> ^ < └───────────────────────┐
│ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┼ ─ ─ ┐
│ │Main region │
│ │ │
│ │ ┌──────────────┐ ┌──────────────┐ ┌───────────┴──┐
│ │┌─────────────┴┐ send │┌─────────────┴┐ │┌─────────────┴┐ │
└─────┼──▶└┤┌─────────────┴┐ channel msg └┤┌─────────────┴┐ └┤┌─────────────┴┐
└┤ Webapp ├──────────────┴▶ Admin Server ├───────────┴▶Channel Server││
│ └───────┬──────┘ └──────────────┘ route to └──────────────┘
│ store channel │
│ ▼ message server
░░░░░░░░ │
│ ░Vitess░
░░░░░░░░ │
─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘
+10-15V 0,047R
●─────────○───────○─░░░░░─○─○─────────○────○─────╮
+ │ │ │ │ │ │ │ │
─═════─ │ │ │ │ │ │ │
─═════─ ──┼── │ │╭┴╮ │ │ │
─═════─ ─┼─ │ ││ │ 2k2 │ │ │
- │ 470│ + │ ││ │ │ │ │
│ uF│ ╰──╮ │╰┬╯ ╭┴╮ │ │
└─────────│ │ │ │ 1k │ │ │ ▽ LED
│ 6│ 7│ │8 │ │ │ ┬
───┴─── ╭──┴────┴─┴─╮ ╰┬╯ │ │
─═══─ │ │1 │ │ / BC │
─ │ ├───────○──┤/ 547 │
GND │ │ │ │ ▶ │
│ │ ╭┴╮ │ │
╭─────────┤ │ 220R│ │ ○───┤├┘ IRF9Z34
│ │ │ │ │ │ │├─▶
│ │ MC34063 │ ╰┬╯ │ │├─┐ BYV29 -12V6
│ │ │ │ │ ○──┤◀─○────○───X OUT
- │ + │ │2 ╰────╯ │ │ │
6000 micro ────┴──── │ ├──○ C│ │ ─── 470
Farad, 40V ─ ─ ┬ ─ ─ │ │ GND C│ │ ███ uF
Capacitor │ │ │3 C│ │ │\
│ │ ├────────┤├╮ │ │ GND
│ ╰─────┬───┬─╯ │ GND │
│ 5│ 4│ │ │
│ │ ╰────────────○──────────────│
│ │ │
╰───────────────●─────/\/\/─────────○────░░░░░──╯
2k │ 1k0
╭┴╮
│ │5k6 3k3
│ │in Serie
╰┬╯
GND
```

# Features
Expand All @@ -62,7 +70,7 @@ Shape formats:
Editing:

- Infinity scroll, no limitation for 4 directions
- Auto save
- Autosave
- Multiple projects
- Copy / Cut / Paste / Duplicate
- Move and change shapes' order
Expand All @@ -85,9 +93,9 @@ Exporting:
### Paint tool

> Currently, Mono Sketch provides only three tools: Rectangle, Text, and Line. One tool which is also
> Currently, Mono Sketch provides only three tools: Rectangle, Text, and Line. One tool that is also
> used frequently when drawing with ASCII is paint - draw with a specific character. This project
> also aims for providing richer options of Fill, Border, Line Start/End head
> also aims to provide richer options of Fill, Border, Line Start/End head
### Sharing

Expand Down Expand Up @@ -115,7 +123,7 @@ Or with production configuration
**Run with Python**

This is an alternative to `browserDevelopmentRun` for running the app for development (sometimes,
the gradle does not reload when the code is updated).
the Gradle does not reload when the code is updated).

Requirements: [Pipenv].

Expand Down
Binary file removed gallery/demo-1.gif
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
1 change: 0 additions & 1 deletion libs/monoboard/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ plugins {
}

repositories {
jcenter()
mavenCentral()
}

Expand Down
Loading

0 comments on commit ed8c0df

Please sign in to comment.