Giter Site home page Giter Site logo

compute.toys's People

Contributors

cornuammonis avatar davidar avatar dependabot[bot] avatar munrocket avatar rus-abd avatar slerpyyy avatar wrightwriter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

compute.toys's Issues

Bug: blue-noise in wrong gamma space

I found a bug in compute.toys (it seems);

The texture provided in compute.toys, blue-noise (the last one), is not stored in linear space but has been mapped to gamma space;

Because the distribution of blue-noise between 0.0 ~ 1.0 is unbiased, the number of pixels >0.5 should be roughly equal to the number of pixels <=0.5;

However, the blue-noise provided by compute.toys obviously does not conform, as shown in the picture:

image

The left side is <= 0.5, the right side is >=0.5;

Only by applying a gamma correction of pow(blue_noise, 1 / 2.2) can the correct image be obtained;

So I suspect that an incorrect gamma mapping, pow(color, 2.2), was added when generating the blue-noise.

__THE BUG SHOWCASE__: https://compute.toys/view/928

Error occurs when using as standalone editor

Attempted to use the compute.toy as a standalone editor by following the steps described in the README file, which involved deleting the pages directory before starting the server. Unfortunately, this approach did not work.

I then tried to resolve the issue by clearing the cache, which involved deleting the .next directory. However, even after doing this, I consistently encountered the following error:

Server Error
Error: useAuth must be used within an AuthProvider

This error happened while generating the page. Any console logs will be displayed in the terminal window.

Source
lib\db\serializeshader.ts (128:28) @ useShaderSerDe

  126 |     const atomGetter = useAtomGetter();
  127 | 
> 128 |     const { user } = useAuth();
      |                            ^
  129 | 
  130 |     /*
  131 |         We DO NOT want to use getters here, even though

Call Stack
MetadataEditor
components\editor\metadataeditor.tsx (53:43)

Could you please provide guidance on how to resolve this issue?

FR: Support Open Graph protocol

We should add open graph meta tags to the website

The following tags should be added to the <head> of every page

<meta property="og:title" content="...">
<meta property="og:type" content="...">
<meta property="og:image" content="...">
<meta property="og:url" content="...">
<meta property="og:description" content="...">
<meta property="og:site_name" content="...">

This allows apps like Discord to generate previews for links to the website

Rust code does not build due to proc_macro2 dependency

cached depends on an old version of proc_macro2, which suffers from rust-lang/rust#113152
I suppose updating all the dependencies would be in order.

As a side note, this message also appears.

warning: `D:\Coding\GitHub\Libraries\compute.toys\wgpu-compute-toy\.cargo\config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`

I'll happily submit PRs to fix this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.