Category "graphics"

Setup p5.js in Electron

I am trying to use p5.js in a electron desktop app. I tried using templates from github but it didn't work I tried setting up my self it didn't work either. Her

PyInstaller executable not working with panda3d. No graphics pipe availabe

I am having an issue with a program, which uses panda3d. It works perfectly when executed as a pythonscript, but the version, which is compiled (or rather packa

Instanced rendering using vertex attribute buffer or uniform buffer for the instance data

I have seen instanced rendering using a vertex attribute buffer. So in addition to your usual data such as 'position' and 'normal' you have an extra 'attribute'

What could be the source of this aliasing?

I am manually raytracing a 3D image. I have noticed that, the farther from the 3D image I am, the bigger the aliasing. This 3D image is basically a voxelized r

How to the width of an existing GDI Pen?

I am working on legacy code that relies on GDI (not GDI+) for drawing. GDI has no provision for variable width pens and you need to create/destroy new ones ever

Printing Images with ZPL code

I'm using ZDesigner to create my label and generate the zpl code. My label have several text boxes, a barcode, and a logo image. I used the generated code on th

Is there a way to make a 2nd click change the result?

I'm trying to make it when you click the cameraButton, the graphics show, but when clicked again, it closes. @Override public void paintComponent(Graphics g

Why is a single depth buffer sufficient for this vulkan swapchain render loop?

I was following the vulkan tutorial at https://vulkan-tutorial.com/ and at the depth buffering chapter, the author Alexander Overvoorde mentions that "We only n

Drawing rectangles at an angle

What is a method in Java that draws a rectangle given the following: The coordinates of the center of the square The angle of the rectangle from vertical, in d

Python Kivy: adding a FigureCanvas widget through a custom event

I am new to Kivy and GUIs in general and I am having a hard time understanding some simple concepts of Kivy callbacks logic. I want to make a simple app to read

Actually changing text size with OCaml Graphics

I was wondering how to set text size in OCaml. I tried Graphics.set_text_size which should do the deal I guess. But whether I put set_text_size 200 or set_text

How to draw a function plot in WPF?

I am a simple housewife and I like to plot a polynomial function for my unmotivated daughter. I have made a grid in WPF, in one cell I want to draw the graph of

Is it possible to render a video from AfterEffects in a Google Collaboratory notebook?

I have an AfterEffects video ready to be exported in mp4 format, but my PC has not a good processor or graphics card. I have also been using Google Colab for a