The Wayback Machine - https://web.archive.org/web/20201203065825/https://github.com/topics/graphics
Skip to content
#

graphics

Here are 3,764 public repositories matching this topic...

lm-n
lm-n commented Jun 18, 2020

Most appropriate sub-area of p5.js?

  • Color
  • Core/Environment/Rendering
  • Data
  • Dom
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Other (specify if possible)

Feature enhancement details:

Currently, several DOM examples are not executed in the reference. It is always helpful to have the example code exec

myfreeweb
myfreeweb commented May 31, 2020

The image crate with default options is the absolute leader in code size:

 File  .text     Size Crate
 5.7%  14.6% 364.0KiB image
 4.6%  12.0% 297.3KiB wgpu_native
 3.8%   9.9% 246.5KiB std
 3.5%   8.9% 222.1KiB usvg
 2.6%   6.8% 170.0KiB iced_wgpu

I don't need to support ico, bmp, tga, hdr, dxt, dds, farbfeld and so on in a program that would only ever decode

raylib
trikko
trikko commented Nov 1, 2020

MeshNormalSmooth() takes a vertex and iterates all the others, looking for vertices with a distance < epsilon.
Then it calculates their normals and sums it.

That's not a good idea, IMO:

  • Two close vertices can be not physically linked, I don't think summing normals makes sense.
  • It's quadratic.

A simpler and faster way to smooth a model could be:

  • Iterating through each triangle

Improve this page

Add a description, image, and links to the graphics topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the graphics topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.