Skip to content

Instantly share code, notes, and snippets.

View avadhbsd's full-sized avatar
💭
I may be slow to respond.

Avadh avadhbsd

💭
I may be slow to respond.
  • India
View GitHub Profile
{"poster": {"title": "Its Goona bethe new poser","description": "Museum Quality Poster. Thick, durable, matte perfection, shouting out your message.","units_in_stock": 100,"credits": "avadh","price": "890.0","productUrl": "www.poster.com","shippingDetails": "Rates provided during checkout, ships withing 3-5 days"}}
var curve = figma.createVector()
var startX = 0 + " "
var startY = 100 + " "
var controlPointX1 = (100 * 0.5) + " "
var controlPointY1 = (100 * 0) + " "
var controlPointX2 = (100 * 0.14) + " "
var controlPointY2 = (100 * .99) + " "
var endX = 100 + " "
var endY = 0
{
"firstKeyTime": 0,
"lastKeyTime": 0.66666666666667,
"layers": [
{
"name": "Button Login",
"index": 1,
"props": [
{
"name": "Scale",
function drawCurve(x1,y1,x2,y2,) {
var rect = figma.createFrame()
rect.resize(500, 100)
setFillColor(rect,"FFFFFF" )
// hexToRgbColor = hexToRgb("F6F6F6")
// rect.fills = [{type: 'SOLID',
//https://thomas-lowry.github.io/figma-plugin-ds/#onboarding
figma.showUI(__html__)
var specFrame
var rowHeight = 51
figma.ui.resize(300,480)
var hexToRgbColor