scratchfoundation / scratchfoundation/scratch-editor

Lines in Vector Editor

Open
#682 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
281
Forks
276
Avg merge
7d 8h
Merged PRs (30d)
6

Description

When a line is created in the vector editor, it automatically has rounded lines. However, when a shape is created and then a part of it is erased, you can make a line with sharp edges (difference circled in red). Can there be an easy way to toggle between rounded lines and sharpened lines added, similar to what adobe illustrator and other vector editors have?

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the vector editor entry point by locating how line ends are rendered and how erased shapes become lines. Compare the rounded and sharp edges shown in the attached image, then define a toggle that switches between those two styles and verify both line creation and erasing workflows.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
design, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.