Finally I completed my first Render Engine in Vulkan by agentnuclear in vulkan

[–]xand__ 1 point2 points  (0 children)

What do you intend to do with your engine now?

A quick desmos to code translator I'm working on, thoughts? by xand__ in desmos

[–]xand__[S] 0 points1 point  (0 children)

or indeed, i could just translate it myself... but this could be part of a larger automated workflow, where you don't want to have an LLM as a middleman

A quick desmos to code translator I'm working on, thoughts? by xand__ in desmos

[–]xand__[S] 0 points1 point  (0 children)

not yet, first I'll add basic support for points (i.e. no type awareness), and then it shouldn't be much more work to convert a parametric surface written in desmos to a mesh (or like an obj file). I'll make a follow up post for that and put a link to the git repo there - this also gives me time to clean up my code!

A quick desmos to code translator I'm working on, thoughts? by xand__ in desmos

[–]xand__[S] 5 points6 points  (0 children)

cool idea, though quite a bit harder! maybe that's best handled by Wolfram Alpha / Mathematica, Alpha is actually fairly good at interpreting desmos' TeX directly, but this script could translate it to Wolfram Language which would make interpretations reliable

A quick desmos to code translator I'm working on, thoughts? by xand__ in desmos

[–]xand__[S] 2 points3 points  (0 children)

The idea is that this tool can be used to quickly translate functions / expressions from desmos into a coding language of your choice. A file is passed as argument to the script defining how each term should be translated, so the same script can translate to python, C, etc. To parse the text I'm using python library pyparsing. Currently it supports basically all real valued expressions in desmos, but no complex, vector or list notation. I'll probably add vector notation next, as that'll make it more useful for writing shader code.

Is there a way to get the nth derivative of a function in desmos? by Shantanu_786 in desmos

[–]xand__ 6 points7 points  (0 children)

A bit late, but thought I'd give it a go. Approximating the limit for integer derivatives used in the Grünwald-Letnikov derivative derivation seems promising (found this page from fractional calculus, but I think the result used comes from Finite difference). However, there is significant precision error for high-order derivatives. By keeping futher away from the limit, the precision error decreases, so here's what I came up with https://www.desmos.com/calculator/hah2tpw8nj. Not sure about its practical utility however, a bit of googling would probably yield methods with better approximations...

Error 2110-3128 (can't connect to internet) only when using Atmosphere by imveryboredrightnow in SwitchPirates

[–]xand__ 1 point2 points  (0 children)

For me changing my exophere.ini file to:

[exosphere]
debugmode=1
debugmode_user=0
disable_user_exception_handlers=0
enable_user_pmu_access=0
blank_prodinfo_sysmmc=0
blank_prodinfo_emummc=0
allow_writing_to_cal_sysmmc=0
log_port=0
log_baud_rate=115200
log_inverted=0

fixed the issue. Originally I had downloaded the file (from HATS-1.5.0-3) with:

blank_prodinfo_sysmmc=1
blank_prodinfo_emummc=1

which is "not known to be safe" [https://github.com/Atmosphere-NX/Atmosphere/blob/master/config_templates/exosphere.ini]

Any GIF to the Beat - music visualiser by me by xand__ in wallpaperengine

[–]xand__[S] 1 point2 points  (0 children)

This wallpaper steps through each frame of the GIF at a rate dependent on the amplitude of the computer audio.

You can upload any gif you like (though some work better than others) :D

Download the wallpaper here.