63 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
121
views
Rust Iced Markdown View isn't Showing in the window
I've tried the rust iced framework and tried to create a markdown view from the documentation and the code compiles and renderes the windows but the code
pub fn new() -> Self {
Self {
...
0
votes
1
answer
328
views
Convolution on c++
I'm trying to implement a convolution function in c++. When I use it, it either crashes my program, or it convolves but it shifts my pixels.
for (int y = 1; y < m_imageHeight - 1; y++)
{
for (...
0
votes
1
answer
70
views
Haskell domain coloring with the 'hip' library using the HSI color space
The Hakell library hip allows to do 2D images processing and it provides several color spaces, such as the well known RGB space.
I'm using this hip library to do some 2D images.
For example, I did ...
1
vote
0
answers
161
views
Make light pass throught Smooth Portals in Unity
I am using Sebastian Lague portals in my game (text), everything works perfectly but there is an catch, I have a flashlight machanic in my project and when I get close to the portal with it it looks ...
0
votes
1
answer
106
views
How to convert the imagemagick sparse-color Barycentric command line to magick++ code?
I am trying to convert a simple ImageMagick command line to Magick++/c++ code. However it didn't work as expected. The offical website lack of API example. I can not figure out the problem even I dive ...
0
votes
1
answer
50
views
Can we declared ,defined or initilization or take user input of an array elements in a GUI java?
Can we declare or initialize or take user input values of arrays in GUI Java only in one frame ??
If yes then how? and no then reason?
2
votes
1
answer
3k
views
Correlation Matrix with over 100 variables
I have 100 Variables and I am trying to plot these variables in a correlation matrix. However as you can see on the picture I have too many variables to have a good visual presentation. Is there a ...
0
votes
0
answers
104
views
QpushButton QTableWidget but when i add Menu action to button menu don't display why?
This is the code i want to run .
i put QpushButton in QTableWidget by setCellWidget but when i add Menu action to the button the menu doesn't display why?
p = QtWidgets.QPushButton("Test")...
1
vote
1
answer
202
views
Shaping a tic tac toe in python
I'm new to this forum, so I don't really know the rules and the submission template here. sorry if i do some mistakes.
So my problem is that I have a code that makes 2 AI play Tic Tac Toe. Here is the ...
0
votes
0
answers
504
views
CSFML : Draw Line
i'm working on a school project using CSFML (The SFML library but in C), i'm trying to display a line between two points but impossible for me to find any good documentation to do it, if someone know ...
0
votes
2
answers
269
views
OpenGL texture gets worse when moving camera away from object
The texture gets generally worse more I move the camera away from the object. I need to be really close to the object for the texture to be fine. Does anyone know what would cause it and how to fix it?...
user avatar
user15062273
0
votes
0
answers
161
views
Duplicate weighted ties in social network using R
I am wondering if there is a way for any social network package (sna, network, or igraph) to accommodate duplicate ties with different weights?
I have data where division chiefs are rating their ...
-1
votes
1
answer
96
views
Gui programming in python tkinter
import tkinter as tk
weight = tk(float(input("Enter your weight in kgs : ")))
height = tk(float(input("Enter your height cms : ")))
bmi = weight/ (height/100)**2
if bmi <= 17.5:...
0
votes
1
answer
390
views
WebGL2 - Write to texture/buffer at arbitrary position - OpenGL imageStore equivalent
I already know how to write to a texture using Framebuffers.
However, for a project I'm doing that requires FFT's, I need at a point to write, in the same shader, into more than one position of the ...
0
votes
0
answers
55
views
How to get RGB values based on illuminance (Lux) in Python? [duplicate]
I am building an application using pygame/OpenGL where I can display the illuminance values (Unit : Lux) as RGB points. The Lux values are all numerical so I want them to display graphically in my ...