Skip to main content
Filter by
Sorted by
Tagged with
Tooling
0 votes
0 replies
79 views

There's a tree data structure with string nodes. Is there a framework/library to draw this structured text tree into graphic context (CGContext)? it's about calculating correct layout to represent it ...
diglan's user avatar
  • 1
1 vote
1 answer
33 views

I'm trying to define a subroutine to draw a sphere to be used inside the draw routines sphere(radius,coords) := block([t], transform = [x+coords[1] , y+coords[2] , z+coords[3], x, y, z], ...
Ross's user avatar
  • 216
Tooling
0 votes
0 replies
38 views

Is it possible to draw simple images and diagrams directly out of ASCII text in Sphinx? Something like AsciiDraw or AsciiFlow but directly visible in the RST file and then rendered automatically to a ...
CeDeROM's user avatar
  • 647
3 votes
1 answer
485 views

I’m working on a React component that uses Excalidraw, and I want to save and load drawings from localStorage so users don’t lose their work after refreshing the page. import { Excalidraw } from "...
mounir abaddah's user avatar
2 votes
2 answers
204 views

I'm writing text into an image and I want this text to be scaled up (like doubled or tripled). import ( "golang.org/x/image/font" "golang.org/x/image/font/basicfont"...
Nil's user avatar
  • 30
3 votes
3 answers
153 views

I'm trying to put together an app, but I've run into problems trying to get data into an IDrawable graph display. The app is just supposed to show a plot of random data from a float[] which is then ...
aardvark2012's user avatar
0 votes
1 answer
104 views

I am working on designing a system in AWS. I need help understanding how to draw or represent a Lambda function with its layers. Is there an icon in draw.io to represent a Lambda function with layers? ...
shukla's user avatar
  • 85
6 votes
0 answers
277 views

I'm trying to draw a rounded rectangle in X11 using the following: #include <X11/Xlib.h> #include <stdlib.h> int main() { Display *display; Window window; GC gc; XEvent ...
Andereoo's user avatar
  • 1,078
0 votes
1 answer
56 views

**I am trying to draw a 2 cm circle in Flutter that remains the same physical size across all mobile devices, regardless of screen resolution or pixel density. Currently, I am using MediaQuery.of(...
Ravindra Dabhi's user avatar
-1 votes
1 answer
2k views

I am trying to show LangChain graph in my python module code. Not Jupiter notebook. However, the following code snippet: from IPython.display import Image, display from langgraph.graph import ...
khteh's user avatar
  • 4,366
0 votes
0 answers
77 views

I'm having trouble drawing my animation to the correct position. I draw my animation from an atlas, and offset the position of the animation by how many pixels have been trimmed when packing the ...
dodgergram's user avatar
0 votes
1 answer
116 views

I am using SwiftyDraw library to draw a path for my app. Drawing the path is working well but there is a problem if user start drawing path and move the finger back and forth in the same position. ...
Sptibo 's user avatar
  • 283
0 votes
1 answer
117 views

I like the 3d plot figure : (load(implicit_plot),plot3d( 1,[theta, 0, %pi], [phi, 0, 2*%pi], same_xyz, [transform_xy, spherical_to_xyz],[grid,20,20],[color,black],palette,[png_file, "transform....
user158293's user avatar
0 votes
1 answer
106 views

I have successfully changed the output from default terminal screen to a *.png by for example. [load(implicit_plot), gnuplot_out_file[png,"gnu.png"], implicit_plot(x^2+y^2-1,[x,-1,1],[y,...
user158293's user avatar
1 vote
1 answer
429 views

I am educating myself by messing around a bit with the canvas in a Composable. The idea I am looking for is to: Have a background color ( in this case just doing a gradient of colors) Black ...
user22239162's user avatar
-1 votes
2 answers
394 views

I'm a university student and I don't get how to draw a circle or a rectangle. I'm printing text in a terminal window, not using lines, so it will technically look like a circle made with * characters. ...
Zeti Qurshiah's user avatar
1 vote
3 answers
127 views

I have a sequence myseq associated to some data that I want to plot. Besides, I have another sequence checkseq that I want to compare myseq to. The objective is to make a plot like the one below (with ...
DaniCee's user avatar
  • 3,257
4 votes
1 answer
154 views

I would like to have BarMark with cross-hatched pattern by using Charts in a SwiftUI project. My data type is (Date, Double). I created a chart like this: struct ContentView: View { struct ...
Fatih Ozturk's user avatar
-3 votes
1 answer
71 views

I have a requirement to draw n number of squares with side length m in the following format: Example: m=5;n=2; Expected output * * * * * * * * * * * * * * * * * * * *...
Sasho's user avatar
  • 1
0 votes
1 answer
221 views

I create a new blazor web app project like this: (https://i.sstatic.net/ejiES4vI.png) It has 2 projects in 1 solution. When I wanted to get the mouse coordinates on the Client side of my project, I ...
user27339040's user avatar
0 votes
1 answer
153 views

I would like to play a video (with python) on my HP Prime G2. I know this sounds stupid but please. So, I already converted the video to a list of pixels but I realise that drawing the pixels one by ...
Kodeur_Kubik's user avatar
-1 votes
1 answer
160 views

I want to build the iOS-like Messages chat bubble in Android using the custom view class this is the code that I use to create the rounded corner rectangle and it will be based on the height and ...
Jay Dolar's user avatar
0 votes
0 answers
67 views

In the program below, I want to place 2 vertical cursors at 2 defined positions on the ais x. The problem is that, as you can see in the screenshot, the cursors do not match the values chosen in the ...
Bast38's user avatar
  • 105
0 votes
2 answers
170 views

I am interested to use DiagrammeR to draw a path diagram. The original codes I used generated a diagram with some curved lines. I tried to look for solutions online and I read this post DiagrammeR: ...
NessD's user avatar
  • 101
0 votes
1 answer
146 views

Apparently, I do not understand how to plot a simple line with mayavi. According to the docs, I should use mlab.plot3d, where the first three arguments x, y, z contain the coordinates: x, y, z and s ...
Alf's user avatar
  • 2,029
0 votes
1 answer
76 views

I am trying to build a little space invaders type of game, and I want to draw many things while using a class (in order to be more efficient). However, while my program does run when I want it to, it ...
Marcus Brown's user avatar
0 votes
1 answer
154 views

Seniors. I am trying to draw an arrow that satisfies this special condition with pine script. The conditions are follow as: -If a low is colored dark green and its value is higher than or equal to the ...
bytebrilliance0306's user avatar
0 votes
1 answer
526 views

I wrote a code in pine script v5 for drawing a horizontal line from open of a Bullish engulfing candle to the right side for 100 candle but it should be stop drawing when a candle crossover or cross ...
Exlord's user avatar
  • 3
0 votes
1 answer
184 views

I have a problem regarding displaying sprite where the texture seams to be properly loaded (at least I don't receive any error messages even when removing the if condition) but when I displaye it all ...
brd's user avatar
  • 3
1 vote
2 answers
238 views

Okay so I am learning how to make games and stuff in java and I am using processing in that i am trying to generate a ellipse that will move constantly when fired, how I am animating is in draw() ...
Srijan Chaudhary's user avatar
1 vote
2 answers
200 views

I have implemented a small program, that has one function to open and read a text file with instructions for drawing, whereas the second one is targeted at drawing. The second one was already utilised,...
Lucky's user avatar
  • 23
1 vote
0 answers
154 views

When drawing with Firemonkey FMX.Objects.TPath, I want to draw in a mixed drawing order. The drawing fill must be painted correctly. How can I do that? (The drawings come in mixed order. Putting these ...
engerex's user avatar
  • 29
4 votes
1 answer
1k views

I am working with SwiftUI and need to implement a custom Shape that mimics a specific design. The shape is a rectangle but with distinct features: the top corners are rounded, and the bottom edge ...
Danila Belyi's user avatar
-1 votes
2 answers
172 views

is anyone able to explain why in DPR==1 line at whole pixel is still blurred? https://codepen.io/Ondej-Spilka/pen/LYvrpby var canvas = document.getElementById('myCanvas'); var context = canvas....
OSP's user avatar
  • 1,497
0 votes
1 answer
206 views

I would like to ask. "Previously, I have already created Object Names A-Z on the Green Line" and I'm trying to create a VBA code, here's the code: works manually by selecting 2 objects Sub ...
redixid hkgraphics's user avatar
0 votes
1 answer
155 views

I created a code and easily got letters, but now I just understood that I don't know how to make them fill. I made only an E and an L and by this site user help G, but I don't understand how to make O ...
Oleg Ixe's user avatar
0 votes
1 answer
158 views

I have created a script to rename objects in CorelDraw according to alphabetical order. This script should work as expected, but I don't know why the sequence is from Z to A. Screenshots on the left ...
redixid hkgraphics's user avatar
1 vote
1 answer
409 views

I try to write something like a minigame in Jupyter for my students, where they learn like in Swift playgrounds how a figure is behaving when applying different commands. I wrote the following: from ...
Astrina's user avatar
  • 13
0 votes
1 answer
298 views

This macro works by selecting 2 objects. The object that has been previously named is called 'A', and the other object's name is RANDOM. I hope that with this macro, I can change the name of the ...
redixid hkgraphics's user avatar
0 votes
1 answer
108 views

I have researched and searched many times and can't find examples of style editors on openlayers. Available only on leaflets. Please share your experience, how should I write it? It's fine if you ...
HHEG PSC's user avatar
1 vote
1 answer
113 views

I created a code and easily got letters, but now I just understood that I don't know how to make them fill. I made only an E and an L, but I don't understand how to make O and G fill. This is what I ...
Oleg Ixe's user avatar
1 vote
1 answer
78 views

Description: I'm currently working on a Drawing application and facing challenges with stroke rendering due to the use of float-based distance calculations. While attempting to convert integer ...
Rezwan Khan chowdhury's user avatar
-1 votes
1 answer
56 views

Draw(somethin,colorant'blue'). I want to change colour programmatically and do Draw(somethin, colorant'rgb($(val),$(val),$(val))'). This doesnt work. Nor does concatenation with *. Any ideas Draw ...
user23547900's user avatar
0 votes
1 answer
122 views

I'm trying to draw the same text from textBox to Panel char By Char For both Arabic & English with the same char size and position also style and color my code works perfectly if the text is ...
Amro Omran's user avatar
0 votes
1 answer
35 views

I'm new to matplotlib and can't find out how to update my plot once I enter new values for the lines displayed in the plot. Showing the plots with the values that I entered first works without an ...
Jonas ǀ HDJG's user avatar
-1 votes
2 answers
190 views

void setup() { size(500,500); background(#87ceeb); fill(#567d46); rect(0,height/2,500,height/2); fill(#FFA500); circle(50,50,75); // Cloud 1 noStroke(); fill(#...
Arsalan Atif's user avatar
0 votes
1 answer
60 views

I'm making a game in which you try to click the darker circle from a group of randomly placed circles. When you click the correct circle, it re-randomizes it. When you click the incorrect circle, it's ...
armput's user avatar
  • 25
0 votes
1 answer
83 views

I'm encountering an issue with my drawing functionality in Swift, specifically when using CALayer instead of UIBezierPath. Here's the problem I'm facing: I am creating a texture from an image and ...
Rezwan Khan chowdhury's user avatar
5 votes
1 answer
307 views

I'm using Javafx to achieve the same effect in an HTML5 demo, but with Javafx the frame rate is very low how do I optimize it, am I writing it incorrectly or is there another better way to achieve it. ...
Huae's user avatar
  • 51
1 vote
1 answer
83 views

I am trying to make a relatively simple game in pygame: import pygame as pg import sys import math # game settings RES = WIDTH, HEIGHT = 1600, 900 FPS = 60 PLAYER_POS = 1.5, 5 #mini_map PLAYER_ANGLE ...
Hogarth's user avatar
  • 11

1
2 3 4 5
71