Comments (2)
I know I'm almost a year late with the response, sorry about that.
Would it make more sense to draw a circle instead of a rect?
from sketch.
I know I'm almost a year late with the response, sorry about that.
And now it's more than one year since your last reply. Sorry about that!
Would it make more sense to draw a circle instead of a rect?
I guess you might be right:
- for big strokes, a circle will probably match user expectations better than a square would
- for small strokes instead, it would not make much of a difference
You want me to open a PR for this? I assume you are suggesting something like:
(defun point (x y)
(declare (type real x y))
(let ((weight (or (pen-weight (env-pen *env*)) 1)))
(with-pen (make-pen :fill (pen-stroke (env-pen *env*)))
(circle x y weight))))
from sketch.
Related Issues (20)
- MAKE-LINE behaving oddly with small values of stroke weight HOT 2
- Improve speed of canvas painting HOT 3
- Add control flow functions from p5js HOT 2
- Make errors more recoverable HOT 6
- Correlated randomness HOT 3
- Support for saving animations HOT 2
- Add missing event-handling functions HOT 3
- Enable drawing in event-handling functions
- Broken link: sjl's coding-math project is not on BitBucket anymore HOT 2
- Attempting to render images results in a garbled mess. HOT 5
- Working on macOS 13.1 using Clozure CL HOT 1
- Using images. HOT 2
- copy-pixels overrides background colour depending on window size HOT 10
- Escape can close multiple windows.
- Question: Getting dimensions and pixels of loaded image HOT 3
- :copy-pixels t flickers between 2 canvases with incorrect backgrounds HOT 5
- quicklisp CFFI-GROVEL:GROVEL-ERROR Couldn't execute "cc" HOT 2
- incf in a let form HOT 2
- Further improvements / maintenance HOT 7
- defsketch bugs/surprises HOT 1
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 sketch.