Comments (2)
It indeed seems like an exact division would suit better here.
Another example:
(defsketch make-line-bug ()
(translate 100 100)
(scale 10)
(with-pen (make-pen :weight 3 :stroke +black+ :fill +white+)
(destructuring-bind (x y x* y*) (list 1 2 1 9)
(line x y x* y*)
(circle x y 1/10)
(circle x* y* 1/10))))
The result:
(You can see that the line is not properly centered)
from sketch.
Thank you both!
from sketch.
Related Issues (20)
- 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
- Greater control of execution loop HOT 1
- More flexible sketch class generation HOT 2
- Issue with FREE-RESOURCE
- Improved interactive development HOT 3
- Drawing huge polygons HOT 2
- Video support? HOT 4
- No input on OS X HOT 2
- Can't quickload sketch HOT 1
- Input methods do not seem to work HOT 3
- Input methods do not work HOT 2
- Can Sketch render without anti-aliasing? HOT 4
- How to use shaders? HOT 2
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.