Skip to content

Instantly share code, notes, and snippets.

View umitcan07's full-sized avatar
🛣️
Rolling

Ümit Can Evleksiz umitcan07

🛣️
Rolling
View GitHub Profile
@kvedala
kvedala / Wiki plots in simple SVG.ipynb
Last active July 29, 2023 12:38
Generate SVG graphs using linear, quadratic and cubic Bezier curve interpolation.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@danielpquinn
danielpquinn / svg-rounded-rectangle-path.js
Last active February 17, 2025 10:54
Draw SVG Rounded Rectangle Path
/**
* Get path data for a rounded rectangle. Allows for different radius on each corner.
* @param {Number} w Width of rounded rectangle
* @param {Number} h Height of rounded rectangle
* @param {Number} tlr Top left corner radius
* @param {Number} trr Top right corner radius
* @param {Number} brr Bottom right corner radius
* @param {Number} blr Bottom left corner radius
* @return {String} Rounded rectangle SVG path data
*/