I am trying to understand how to implement angle spread for a 3D particle system, to achieve an effect similar to a fountain. I can get it to work for a 2D syst
It appears that in Python graphics.py, new objects are drawn behind existing objects. So if I draw a blue circle and THEN place a rectangular box over half the
I'm trying to recreate an X-ray projection I have 3D coordinates of an object of shape (100,3), spherical coordinates of the camera (theta, phi, distance), dist
I have been trying to fix this problem for the past 5 days There are a lot of annoying dark pixels on multiple random objects. Examples: Walls/Pillar: https://i
In Python graphics.py you can use the function setSize() to set the font size. How can you read the current font size of an object? What is the default font si
Yesterday I bought a Mac (M1 processor) and today I installed R and R Studio. I tried to plot the same code in a Windows machine and my Mac, but the plot only s
I'm trying to create a little game where when you type in 'inventory' it opens a little window to display your items. However it doesn't work and give me an err
I have two sets of points, P and Q, where Q is a transformation of P (rotation, translation and scaling). The pairing of points is unknown. How would I go abo
How can I use from scipy.stats import multivariate_normal to generate data? In specific, I want to create a GMM data that contains 3 columns (features) and a la
I am trying to learn computer graphics recently and i have a bunch of question mainly about api's -in windows there is gdi/direct2d what there is in macos and l
I am stuck at the animation part which is kinda tough for me, I need to draw this green sign like this. I tried this Github guide achieve my requirement but wit
I am very new to Shaders and programming in direct 11(c++) and HLSL for shaders. However, I have been given a task to: Implement cube mapping of a static enviro
I am attempting to have multiple JPanels that can "overlap", also allowing me to perform custom painting. For this I am using a MainPanel, which extends JLayere
I am trying flatten a bezier path (remove all intersections and replace with end points) as part of the implementation of the rendering algori
I have a dataset in this way: maximum <- c(10) #for each time minim <- c(2) #for each time Quantity c(4, 2, 10, 2, 10, 6, 2) How can I structure my datas
I am currently working on a project about Bezier curves and their properties. I am struggling to understand a concept. I can't seem to understand why you need a
I am developing a WPF application that displays complex graphics to a window. I need these graphics to be highly dynamic, meaning that for instance lines can ap
I recently discovered the existence in GraphicksMagick of image types that are not actual image files. For instance, here is an excerpt of a gm batch script I a
I'm developing a web component using WebGL2 (and three.js) with OES_element_index_uint enabled. I'm drawing a geometry using indexed vertices and I'm seeing th
I am working on something that can fit a set of Bezier curves through a set of points. I've been able to do this using the curve fitting method from Pomax. The