Comments (8)
Sorry for the late response.
Actually, this request is one of my plans because sometimes, I also prefer simple characters like -+|
rather than characters like ┐┌
.
Luckily, this is not hard, we can add a new stroke style (see PredefinedStraightStrokeStyle).
We can also add a mask to replace the stroke characters with the equivalent ones when doing export.
However, I'm busy with porting the Kotlin code into TypeScript recently (#584) (it sounds crazy but for the future of MonoSketch and also for me to learn new stuffs - MonoSketch is purely a place for practicing engineering).
Sorry for making you keep waiting longer but this request will definitely be implemented.
from monosketch.
Thank you for the detailed response.
No need to hurry, I will be happy when its done. I just recently found this tool and I'm very happy with it as is for illustrating personal notes. Sometimes my colleagues and I need to illustrate internet drafts (every 3-6 months or so) and the ASCII mode would help with that.
A question about the typescript code. Will the whole project be converted to Typescript or just a part of it? From the output it looks like you are rewriting it from scratch. Anyway, keep up the good work and have fun learning!
from monosketch.
I didn't want to, but, unfortunately, I'm porting from scratch.
The number of codes of MonoSketch is not big (~19k), so, this is not a heavy task so far. Only some parts are more complicated than others, and most of the code is quite straightforward.
from monosketch.
I see. Hopefully on the long run it might attract more contributors, I assume TS is more popular than Kotlin these days.
from monosketch.
Not sure its related, but I would love to have the arrows like asciiflow.
This ► instead of ▶
It makes the vertical lines misaligned
You can notice it in the example on the README.md page and below.
Example :
Current :
─ │ ├───────○──┤/ 547 │
GND │ │ │ │ ▶ │
│ │ ╭┴╮ │ │
With suggested arrow :
─ │ ├───────○──┤/ 547 │
GND │ │ │ │ ► │
│ │ ╭┴╮ │ │
I like the idea that we can keep it as vanilla as possible without having to use fonts like jetbrains mono (even if its a cool font), but can use fonts like monospace or courier.
from monosketch.
For ► or ▶
, it really depends on the font and there are no correct answers.
For example, ► is ►
in monospace font while ▶ is ▶
On my PC, the font used on GitHub for monospace renders correct size for both text:
![image](https://private-user-images.githubusercontent.com/955306/337032309-f05447ae-5cf2-4f0d-919b-afd0f8fbca1f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTkwMjQwMTEsIm5iZiI6MTcxOTAyMzcxMSwicGF0aCI6Ii85NTUzMDYvMzM3MDMyMzA5LWYwNTQ0N2FlLTVjZjItNGYwZC05MTliLWFmZDBmOGZiY2ExZi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjIyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYyMlQwMjM1MTFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01ZWI2M2JkMjIzYTg0MDY3OTI5NTQ0ZWQxNWM2OGIzOThmNTU2OGRkMTNlNThjMTdiMGJhNDNkMTg5ZGE3ZWMyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.jFE4_wMUXDq57QfBoMqMgMgjY-G5qUgCKU6ujXU5MDE)
But this is what it is displayed on my email
Btw, let me add a new kinds of arrow later
from monosketch.
Sounds great!
Up and down arrows are fine :
From notepad++
from monosketch.
Yes.
Seems to work. Thanks ☺
from monosketch.
Related Issues (20)
- No border by default for Text tool
- Use worker for backing up and storing history states
- Update icons
- Better mouse cursor indicator for each tool
- A line gets dash pattern when spaces are overlapping the like
- [Bug][Safari] Positioning does not work correctly on Safari
- Cannot do horizontal scrolling with mouse
- Support guideline
- Zoom in zoom out
- Open file from gist
- Fira Code on Google fonts does not have enough characters HOT 1
- Bug with merging lines HOT 1
- Support diamond shape (UML conditional shape/node) HOT 2
- Suggestions for optimizing the efficiency of selected elements HOT 2
- Unable to donate via Ko Fi HOT 2
- The board is regenerated when mouse moves on empty space
- Feature: Show a list of all shapes as layers HOT 2
- Feature: Style text (separate item and inside box) HOT 5
- Replace black arrow (`▶`) with `►` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monosketch.