Skip to content
#

graphics

Here are 4,532 public repositories matching this topic...

lmccart
lmccart commented May 9, 2018

Hi 👋👋👋

We are using this issue to focus on documentation! Documentation is essential for new learners and experienced programmers alike. It helps make our community inclusive by extending a friendly hand to those that are less familiar with p5.js. It also helps us find the bugs and issues with the code itself, because we test and try things out as we document.

[There are several ways to con

BStringhamVRSK
BStringhamVRSK commented Aug 12, 2021

Problem:
After using Engine.createTextureFromKtx/jpeg/Png, I need to query the texture width and height so I can generate proper UV coordinates for font display.

Proposed solution
Expose the Texture.getWidth(), getHeight(), etc. methods to get texture information. I currently only need width and height, but I can see usage cases for many of the other "getters" available in the C++ in

TimUntersberger
TimUntersberger commented Mar 1, 2021

Right now any StyleSheet has a list of functions without a default implementation. Implementing a StyleSheet is really annoying, because you have to override all of the functions and not just the thing you want to change.

I recently wanted to just change the border_radius of a text_input and I had to write the following code.

impl StyleSheet for Styles {
    fn active(&self) ->

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