44,377 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
51
views
SVG icon gets clipped from the top when used inside a circular container
I am facing an issue where an SVG icon is getting clipped from the top when it is displayed inside a circular container.
I tried centering with flexbox, adjusting margins, and changing overflow ...
1
vote
0
answers
69
views
SVG morphing text into shapes
I have asked several AIs on how to go about this, I've looked up som many searches but I think it would help if I knew what to look up. Anyways, my problem in the code below is that I have a website ...
2
votes
0
answers
63
views
Why is my custom .svg (edited using Inkscape from a SF Symbols template) not being displayed properly in Xcode?
As a preface, I am a beginner to everything. Needless to say, patience for my ignorance will be greatly appreciated.
I am trying build an app where the user can input a list of numbers and get the ...
Advice
0
votes
2
replies
56
views
How do I set the matplotlib co-ordinate system to SVG
A synopsis of my code.
import matplotlib.pyplot as plt
import shapely.plotting
from shapely.geometry import Polygon
facing = 'north'
shape = 'triangle'
polygon = Polygon(((1, 17), (9, 1), (17,...
0
votes
0
answers
90
views
Sync HTML selection box with rotated SVG element (rotation drift & incorrect bounds)
I am building a simple SVG editor (move / resize / rotate with custom pivot).
The SVG element is transformed using SVG transforms, but the selection box is NOT SVG — it is a HTML <div> overlay ...
2
votes
1
answer
175
views
How to draw proper logic gate curves (OR/NOR shapes) using quadratic Bezier curves in wxWidgets? [closed]
I'm developing a digital circuit design and simulation tool similar to Logisim, and I'm struggling immensely to render the distinctive curved shape of logic gates like OR/NOR gates. Despite numerous ...
1
vote
1
answer
80
views
HTML img element (or v-img) will not load SVG, request has status 200 but empty response in Dev Tools > Network, No CORS issue and no error in console [duplicate]
I am trying to load an SVG image in a Veutify/Vue web app without embedding the SVG in the project build bundle. I want to loaded the image dynamically at runtime. When referencing the image via the ...
Advice
2
votes
2
replies
77
views
Rainbow lens style effect using SVG/CSS
I'm developing a website whose imagery is based on lenses, light diffusion, etc.
Currently, I've got just some generic blobs of background color to give some depth to the page, but I'd prefer to ...
0
votes
0
answers
91
views
Add custom events in components
Dioxus components can add EventHandlers on predefined Node attributes
eg:
fn app() -> Element {
let mut moveCount = use_signal(|| 0);
rsx! {
h1 { "Mouse mouvement counter: {...
2
votes
1
answer
113
views
SVG icons intermittently failing to render in Google Chrome
I have a legacy application has been using jquery and svg icons for over 10 years without issue. Recently, some users have reported that the svg icons are intermittently failing to render for them ...
Advice
2
votes
3
replies
121
views
How to create a custom curved border shape with gradient stroke around a div
I need to create a container that has a custom border shape- specifically a curved "bump" on the left side — and the border must use a linear gradient (not a solid color). The shape should look like ...
Advice
1
vote
5
replies
130
views
I want to create dynamic real-life like family tree as HTML/SVG in javascript
I'm into a little weird task in a project I'm making, the project is about a family and one section shows the family tree. this family tree is drawn by hand previously and it lacks too many family ...
4
votes
3
answers
89
views
Can't get the ID of a SVG group
I have an SVG map with countries having both path and text elements. The elements are enclosed in a group with an ID, like this:
<g id="RW" ><title>Rwanda</title>
<...
Advice
0
votes
0
replies
67
views
css/react/mui border radius like
Graphic designer designed this component that should display forms and messages like an auth form...
I'm a bit confused on how should I code the top right border... I thought a simple border-radius ...
Tooling
0
votes
6
replies
75
views
Vectorization PNG image with precise color number
I have a task to convert user PNG image to SVG with maximum possible color number coming from user setting (e.g. 8). It means that i should make initially image created from 8 colors and then convert ...