Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
273 B
Text
13 lines
273 B
Text
import {sqrt} from "../math.js";
|
|
|
|
const sqrt3 = sqrt(3);
|
|
|
|
export default {
|
|
draw(context, size) {
|
|
const y = -sqrt(size / (sqrt3 * 3));
|
|
context.moveTo(0, y * 2);
|
|
context.lineTo(-sqrt3 * y, -y);
|
|
context.lineTo(sqrt3 * y, -y);
|
|
context.closePath();
|
|
}
|
|
};
|