We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shared-canvas/kash.js
Line 1 in e393e3c
Import context and size here and calculate the x and y.
import ctx, { size } from './main.js' const x = 1 * size const y = 3 * size
Now use these numbers to draw your shapes. For example:
... ctx.rect(x, y, size, size) // draws a rectangle in your square ...
The text was updated successfully, but these errors were encountered:
soggybag
No branches or pull requests
shared-canvas/kash.js
Line 1 in e393e3c
Import context and size here and calculate the x and y.
Now use these numbers to draw your shapes. For example:
The text was updated successfully, but these errors were encountered: