Skip to main content

Questions tagged [graphics]

Use this tag for questions involving visual presentations, whether they are generated using bitmap or vector techniques.

1 vote
0 answers
83 views

Simple drawing website using React

So I have recently started learning web dev (including React since a few days ago), and I have tried to implement a simple drawing website that lets you change the brush size, color, and save the ...
Tom Gebel's user avatar
  • 350
5 votes
1 answer
559 views

The Wu line drawing algorithm for anti-aliased lines optimization

I need to optimize the following function with low-level optimizations (No SIMD, Multithreading). I already applied a lot of optimizations and got it ~65% faster, but it is possible to get it 200% ...
user avatar
10 votes
2 answers
242 views

A simple ray marcher for the command line

This is my attempt at creating a ray marcher for the command line for fun. I have some prior experience with C programming, although I'm far from being an expert, and little to no experience with ...
Knogger's user avatar
  • 285
2 votes
0 answers
94 views

Compute shader based Particle System

I'm experimenting with compute shaders and wrote the particle system. The emit shader now takes particle data from the constant buffer because I don't have randomizing functions implemented yet. That'...
Edziju's user avatar
  • 319
8 votes
1 answer
326 views

Basic Ray Tracer

This is my first self-guided programming project, and all the math used in the program is self-taught. I wanted to get a better understanding of how computer graphics worked, but I just feel more ...
Jonas Banks's user avatar
8 votes
4 answers
2k views

Plotting the Mandelbrot set efficiently

This is my Mandelbrot set program - it includes Smooth Coloring, perodicity checks, and my approach to biomorphs. I know of Edge Detection, but I couldn't find a simple explanation that I can ...
iogamesplayer's user avatar
0 votes
2 answers
141 views

Improving performance of mandelbrot set calculation

I am making a hobby OS, and I thought about adding a command for interactively rendering the Mandelbrot set. The "interactive" part is not really important, but I wanted to check if the ...
trxgnyp1's user avatar
  • 111
2 votes
0 answers
108 views

Create a Penrose tiling

I programmed this type of Penrose Tilings in javascript and the algorithm is 'simple': The cyan pentagon always have to draw the yellow losenge and the grey pentagon almost always have to draw two red ...
visionary's user avatar
3 votes
1 answer
91 views

Randomly rotate an image through right angles

I'm new to Python, and coming from Typescript, I tried to include types, but it's not obvious sometimes. Currently this is the way I type objects: Write own simple types Import type from a library ...
Minsky's user avatar
  • 249
1 vote
1 answer
224 views

Vulkan application to draw a triangle

I've been following the ever popular 'vulkan-tutorial.com' guide on Vulkan and the result is this program which draws a multicolored triangle. I'm interested in finding out how to make my code more ...
Red's user avatar
  • 171
5 votes
0 answers
497 views

Implementing a Basic Camera UI using WebGPU and JavaScript

Context I am currently in the process of throwing myself into learning graphics programming, and my chosen platform is using JavaScript and WebGPU. After successfully making a basic glTF JSON renderer ...
user2628206's user avatar
1 vote
2 answers
179 views

OpenGL: Rendering the same sprite several times

I've been trying to make refactor really simple 2d sprite engine in OpenGL. As a start, I'm trying to use instanced rendering to render several copies of the same sprite in a square formation across ...
Ruglord's user avatar
  • 13
1 vote
0 answers
163 views

Algorithm to draw a patterned line by traversing the path through points

So I was in need of a way to draw a patterned line that passes through several points on a 2D space, something that no Python library seems able to do out of the box (at least, the ones I've been ...
pepoluan's user avatar
  • 277
2 votes
1 answer
259 views

Shader Program OpenGL

I am new to OpenGL learning it on amazing website learnopengl.com I wanted to a convenient way to use shader programs thats why I created this struct, please review it. ShaderProgram.h ...
Hrant Nurijanyan's user avatar
4 votes
1 answer
75 views

Piece-wise radial uniformly random distribution of points around a reference point

I have been learning Asymptote, which is a vector graphics programming language. In addition to its nice integration with LaTeX and friends, it is capable of generating 3D rendered artworks. For a ...
user avatar

15 30 50 per page
1
2 3 4 5
16