#programming
1 messages · Page 102 of 1
Both of my GPUs are under 30W while in fairly normal use, with two monitors connected to the main GPU, one of which is high res and refresh rate
turnign on g-sync apparently forces the memory clock to over 9000mhz
im geussing they dont actually do any optemizations
if nothing changed you dont need to rerender anything 
Which is probably actually a lot less and the MHz number is just how many transfers happen rather than actual frequency, though I'm still not sure where the numbers come from
according to toast it counts all the frequencies toghether of all the chips
that was a lie
as far as i can tell it's mostly due to PAM4 allowing you to send multiple bits at a time + ddr
wait i have 12 memory chips even
gpu memory is complicated i don't quite know that much about how it actually works on a hardware level tbf, go ping quack if you want an actual answer 
as far as i'm concerned smart people managed to figure out how to make things go brr 
i think that's usually a setting on the monitor itself?
could be wrong
or it's tied to gsync idk
it should be on in the monitor but it isnt set in widows i think
found it
this is new
from the looks of it that didnt actually save much performance
clang gave me some type of ai autocomplete now
its pretty usefull sometimes
other times it fucks some stuff up
also some gl functions are blue now
my texture broke
it gave up on that red square i guess?
I mean I don't think the red was intended and overflowed
Yeah, looks like that red square is the error then nuked afterwards. Especially because noise textures are monochrome
At least when not combined with other textures
the base texture is 128x128, and this frambuffer is also 128x128. so im wondering why its tiling the texture???
doubting any MSAA that hasn't been added yet, that'd be 2 or 4
ohhh, its 8 bits per pixel
the actual image is monochrome
my code doesnt handle that
i only got a
GLint format = (bitsPerPixel == 32) ? GL_RGBA : GL_RGB;
lemme just pass it to the shader in the red channel
looks pretty ominous but its correct now
this is the background from the evil skeleton
idk what you're refering to
I have begun writing a custom frontend for my local Koboldcpp installation, I have even implemented almost realtime vision that gets submitted along with the user input.
that's a surprisingly specific and accurate reaction gif
lol
pure coincidence 
was it not on purpose 
no
What are u converting the phonemes for?
there was no sarcasm intended in that statement nor this one
Just thinking how some people don't slim down on files in /nix very much depends on the person
fat files smh my head
me with mutipule copys of my WM
i write machine code by hand so i can have the smallest executable in all the land 
I should consider slimming

welp, 2 hours of working on my nix flake down the drain because i forgot to push and replaced the image with yday's cause i accidentally deleted ~/.local 
Something somewhere was caching an old path to the oh-my-posh binary 
This is quite fascinating
https://www.youtube.com/watch?v=UKcWu1l_UNw
5 years ago, nobody would have guessed that scaling up LLMs would as successful as they are. This belief, in part, was due to the fact that all known statistical learning theory predicted that massively oversized models should overfit, and hence perform worse than smaller models. Yet the undeniable fact is that modern LLMs do possess models of ...
how do you accidentally delete ~/.local 
i love how it still gets 2500 fps when you put the camer in the gras and look to -Z, but you get 4500fp if you do the same and look at +Z

overdraw my beloved
Speaking on WM, I'm seeing if it is worth switching
look, i meant to run l .local to see if there was anything cached i could yeet but for some reason i typed rm -rf .local
didn't help that every time i sent anything zsh threw 2 errors at me i guess
o7
This is to separate phoneme level information with other acoustic features for my speech tokenizer
curses
propeller hat
thanks chatgpt
wha?
the context is performance, i think it meant to use the idiom of squeezing every last drop or something

time to gc again and have it break 
haha, i cannot be beat 
you beat compiler with hand-rolled binary, good job 
_omp_preexec:5: no such file or directory: /nix/store/n0hjhmf90j2ksaw7kmwimr2h8j433wpw-oh-my-
_omp_get_prompt:3: no such file or directory: /nix/store/n0hjhmf90j2ksaw7kmwimr2h8j433wpw-oh-my-posh-26.8.0/bin/oh-my-posh
it's back 
i wonder why it's even complaining, oh-my-posh didn't change at all
it's till at the same place it was at before
my main goal is to beat draw order into submission now 
i did this to your elf file, nicely formatted with comments explaining the instruction encodings 
do you want to see the actual disasm
would it be possible to sort a list of 16384 vec2's based on their distance to the camera every single frame???
doesnt seem quite possible does it?
sure 
_start:
sub rsp, 0x08
lea rsi, [0x0000000000000007]
mov rdx, 0x0D
mov rax, 0x01
mov rdi, 0x01
syscall
mov rax, 0x3C
xor rdi, rdi
syscall
its about the same
yeah, pretty close
[0x0000000000000007] instead of 0x23
true, i haven't fully grasped the lea instruction yet
it says 7, but the displacement value says 0x23
if i dont square root, which would save performance, it would still be 2 squares and then sort based of those...

16384 times
ye i dont think thats gonna happen each frame
i have a working prompt again 
turns out it was oh-my-posh's own cache all along 
this happens every time it updates but that's so infrequent i always forget how to resolve it 
toast you're a smart dude, could you sort a list of 16k vec2's based on distance in less than a ms?
no
prompt: you are powershell with oh-my-posh
umazing
motherfucker i just want -1 or 1, not 0
I accidentally read sign as sigh and thought what in the tsundere language is this
z
z as in you're going to bed?

real sherlock behavior
basicly in the procces of composting already
copysignf
i wish glsl had that
copysign
doesnt exist as far as i can tell
you just get sign()
which returns 0 if the input is 0 for some reason
can't you just make it
i thought we agreed that signed 0's were a thing?
or is it not possible
sign(x) | 1 
wdym cant you just make it?
sure
unlikely to work
this is bitwise ye?
yeah
lemme thonk
what do you even need it for
i want to see if the camera's forward vector is positive or negative so i can flip the instance grid so the draworder is front to back so i can save 2000fps on overdraw
what's stopping you from doing ((x >= 0) * 2) - 1
crazy
forgot a (float)
besides the fact it will need to be cast to a float
hblang lsp update it "works" now (it does nothing but it technically is an lsp now i think)
sorry I'm used to shaders implicitly casting everything into floats to piss me off
? what kinda shader are you writing?
idk
soil
those aint the type im writing thats for sure
the last one I wrote was ages ago
like how this autocomplete spits out absolute nonsense. this ai needs to cook for some more epochs
it wasnt on purpose
it was suddendly there when i changed to clang and i dont know how to turn it off
soil is weak
are we talkign about dirt?
you are stronger 
how to fight soil unfairly
Dig them out
shovel
dont fight soil
Literally
fighting soil is a losing batle
its not easy though
soil ur pants
depends on what is at stake in the sumo battle
soil
you can just walk away i don't think the soil is gonna be able to do anything to you then
you can shovel as much soil as you want, you're just moving the opponent to another spot.
then you relaize that you're standing on soil, and you cant escape the soil
you can only flee to mars or wherever there isnt soil
if soil is outside the sumo ring does that mean you win
hmmm
i think that's just copilot no?
i have no clue
huh, i guess i somehow activated it while doing the clang stuff
there you go
i just hope they dont expect me to pay for this shit
Allowance resets
they probably try to upsell when/if you run out
Yep
Been a bit since I've configured a new window manager. I've been happy with hyprland.
i happen to know a cat that can help with that
at least you got the girl part correct, i failed at both

you can become a witch i think there are some tv witches
at most i can become a wraith because i dont have a soul gem

konii konii what's your specs as a tv
not even vector display smh
to be clear i dont want to be a girl, i specifically would want to be a magical girl if possible.
im willing to sacrifice my masculinity for magic.
mhm
100%
hacks
that what the filters do 
I did watch an anime with male magical girls, so there is hope 
reported
oh no
when we watched konii play osu she claimed it was in 144p cuz of internet issues. in reality she was just hiding her wall hacks

"wall hacks" ye idk what osu hacks are i autocompleted to wallhacks for some reason
osu! cheats that let you see through a wall
That osu! stream was one for this history books for the wrong reasons
awa
im tempted to play right now actually
i shouldnt its 4am
i found it funny how everyone started muted, then all we eventually started using mics besides konii
tv cant speak
mine can
konii wouldn't have enough bandwidth (real)
concerning
im concerned you might be correct


at least my internet isnt as bad as chayleaf's
konii you live in london
its fine but i wasnt at home 
10mb speeds mhm
london big place
i would be impressed if the internet speed in london was slower than a random girl in the middle of nowhere russia
iirc saint petersburg or sometihng idk
time to dox
its easy to dox me
or you had a job aplication there i think, and you said it wasnt too far
i dont really hide my address i just dont mention it for no reason either
no suprises there honestly
ye you really shouldnt
i wanst asking you to
it wasn't my intention to collect addresses from the #programming people to begin with but i have like 6 of them already
these aint the infinity stones
I honestly shouldn't be as open, but I got a bit of leway in terms of identifying myself even if I'm down to town.
mr enigma
one day i will go knocking on your window 
i know where you live
Cursing american house design until you get there 
if i dont get shot
There hasn't been police here in awhile
i wasnt talking about the police
That rental sometimes gets questionable people
Should be fine, maybe
doubt any people nearby would care
aight im getting somewhat decent fps out of it now
less than 4000 frames smh
that should be easily fixed by making the cpu side cleaner
rn this is split into 3 drawcalls
i just need to make it 1
do yall ever just have your headphones on but you paused the youtube video you were listening to 3 hours ago cuz you're in the zone?
pog
next video when lol
yeahh haha you just wear the headphones but with no sound for hours on end
damnnn I thought 3700 was enough
Why does the grass waving look like an instagram filter

Do you want mine?
I am more than willing to give you it
erm he might have mine guys
why must everyone send their adresses to me
fr tho
It’s funny
this is like vedal with the stream keys
ahem... to be fair mine was an accident haha
I have sent my full home address in a public channel before, I really don’t care
FRRR t
except that im actually capable of doxing everyone now
hi craftercheese
hey
i could make a list probably
Fun fact: this actually led to a lot of stress during the incident
cheese
igly
shadow
superbox
and i think 1 more
SamVanMaele when he finds me
lol
Ya know what
That’s honestly a list I’d be happy to be on

he thought it was a good idea to show what his neighbourhood looks like to give me an idea of how to 3D model the world for the game
the house 3D model is based directly of his house
please dont
These are not the infinity stones of power 
do i just have that please dox yourself aura?
I am not helping at all in this case

i was hoping for an aura that atracts woman or whatever, not whatever this is
Hey man
erf
Listen
If you have the aura that gets people’s addresses
The only thing stopping you from turning that into female interaction
Is your willpower
oh wait im not friended to kaine corneko so you cant dm me 
go take your stink aura elsewhere 
IM NOT TALKING TO YOU ISLAND MONKEY
new user smell 
The insults are strong with this one
and i bully her daily
It seems to be a repelant, commonly called "no bitches"

Wtf did I miss to see this
I’m going to defenestrate myself rn
took me half a second with that name
this is like unspoken rizz dox
I thought you were another common member ngl
Golshi mentioned
Kimi no Ai ba ga zkyun dokyun hashiridashi
1600 Pennsylvania Avenue NW, Washington, D.C. 20500
Come get me
brother
I am common wdym
(That’s the white house)
(And I stopped living there a few days ago)
Aint norway bro believed that
❌
Yeah your right, it was months
how the fuck am i supposed to know the adress of the white house?
You just should
am sorry 😭
but I immediately dropped at Washington tbh
like i can just drop in chat
Pl. de l'Atomium 1, 1020 Bruxelles
like do yall know where that is
cuz i do
probably the captial
OMG
doxxing moment 
and where whatever your president or something lives
thats where his ugly thing is
The world may never know 
atomium, brussels
assert dominance over other EU countries of whatever something
It’s working shivers
not a hypercube, scam
i mean its quite literaly named in the adress. central plaza of the atomium, number 1
what tf is a hypercube 
i was able to get SOME mouse input from the fact that the cursor jiggles a little when moving the camera, but its still super noisey and spikey compared to true mouse movement
cool 4d shit that we shouldn't be able to see
but math does math stuff
so it is dragged down to 2d
shape with 6 vertices in 4d plane that are connected by cubes
we love 2 of the same gif
iirc its a molecule of iron, idk why tho
Sam
The Atomium in Brussels is shaped like a unit cell of an iron crystal, magnified 165 billion times. It consists of nine interconnected stainless steel spheres, representing iron atoms, arranged in a body-centered cubic structure. The structure is 102 meters tall and was designed for the 1958 Brussels World's Fair.
Huh, interesting
I’m rusty on the rules here, can I periodically mention catgirls in my usual fashion
don't share your huzz list
13+ don't do that
Dad what’s a huzz list
unc
Am I getting too old for this shit
you're only 20 so i dont think so
I got no idea
IM NOT TWENTY
I’m actually not even 19 for another month
still unc
wait so you're 18 then
older than me
you're the same age as me for a month 
Crazy how that works
me when I rewrite a 18+ server's age limit to allow my existance: 
nahh #programming became open doxxing space of revealing personal secrets™
Time to turn it back
new CTF just dropped
oh shi
sigh

I’m old
discord apperatnly is doing webp. godsend the discord intern
Cause I don’t know what that means
scroll some reels or someth
I’d rather be lowered into a wood chipper
this gif was super necessary
From another server:
this college student that interns at discord whenever he isnt busy with school makes all the good changes, every time he has to leave for college nothing of worth happens :skull_sob: https://x.com/advaithj1/status/1947485639366349119
I've updated the GIF picker on desktop and mobile to load GIFs faster, using newer formats! we now prefer WebP over raw GIF and WebM over MP4. we've seen dramatic improvements to loading speeds and bandwidth usage from this change!
fire
I would check what other things they've done if I had an account
Bossman (tm)
Not on a phone keyboard it ain’t
I agree with CTO, this dude is actually doing something
:tm:
huh
™
™
™
™
™
welcome to copyright strike version of #programming ™
™
maybe discord conveniently switches it to ™ symbol
or the other way
do you need o copyright a game's assets when you release it btw? cuz that seems like a lot of work
I mean
It’s complicated
Wait, this dude is doing LaTeX support. Yeah this dude should not be interning but instead given a proper position.
please this update istg
I actually need latex in discord
Of someone else copyrighting your assets then suing you over them


we NEED IT


time to directly provide paper reviews on discord
instead of screenshotting equations
mods can we please get latex bot?
Please come out soon 
Can we talk about
How with the server tags
They made it from a predefined set of icons
Instead of server emotes
Can we discuss that
i think that was the best aproach
I don’t
as badges
who gonna pay the bills
I'd say it is better not to leave it to chance
THEY HAVE A DISCORD??????
they have discord??
oh god
fuck
this shit was not expected
DO not be stupid
Doctors without firewalls
heck, this shit was the most unexpected thing in this year
lmfao
you better not
saved
what
i personally dont have a problem with egirls as long as they dont want my creditcard info
hi mods
hi mods
And its effects on the global economy

👍
so uh what were we talking about again?
It is now programming mhm
not that i remember
I have done so when I needed to
i imagine you just do some list slicing in python, and for c++ i have nmo fucking clue
vedalapologyvideoby="your name"; revsersedaname=vedalapologyvideoby[::-1]
IIRC this is python
I love shiny roles
I got to be honest
I thought I was just going crazy
For like a week
Until I saw proof that it is indeed now a feature
but python does not have semicolons 
you can use them, you just dont need to iirc
It's an exciting day. New neuro project just dropped. I feel pretty good about this one I made #1397799372191825993
The situtations where you can use them are beyond jank
personal experince
this is hilarious
peak content
I'd be excited to see if this actually happens thanks to this
someone tell me how i embed source code
y'know
on discord?
yes

i was hoping to put the fake ` in the thingy but i guess disocrd wasnt having it
print("mhm")
add py or cpp or whaever you want for syntax highlighting stuf to the first ``
wdym add to, on the left or right
right
ok, string reversal code in c ```c
#include<stdio.h>
unsigned int get_count(char* argv) {
unsigned int i = 0;
while(argv[i]) i++;
return i;
}
int main(int argc, char** argv) {
const unsigned int argsize = get_count(argv[1]);
char buffer[4096] = {0};
for (unsigned int i = 0; i < argsize; i++) buffer[i] = argv[1][argsize-i-1];
printf("%s\n", buffer);
return 0;
}
bro
put the ` on newlines
both the top and bottom should be seperate, besides the c
so
{
code
}
`\```
fuck
it's... beautiful
that lens abberation
holy
how the fuk do i make new lines
press enter
screenshot wll probably be simplet to underrstand
the code you sent before has a space
no spaces behind there
wtf ok

isnt this more complex than normal 

wdym 
wtf are slices 
reverse := fn(slice: []u8): []u8 {
if slice.len == 0 return slice
j := slice.len - 1
i := 0
temp: u8 = 0
loop if i < j {
temp = slice[i]
slice[i] = slice[j]
slice[j] = temp
i += 1
j -= 1
} else return slice
}
hblang string reversal
manual reversal 
inplace yeah
lasrever gnirts gnalbh
wdym?
reverse := fn(slice: []u8): void {
for i := 0..(slice.len / 2) {
tmp := slice[i]
slice[i] = slice[slice.len - i - 1]
slice[slice.len - i - 1] = tmp
}
}
new
new
for loop
who is loop

sam van van van van van van ...
reading my name in english is so cursed
not supported at comptime 
motor vehicle
sam is supposed to be with the a like in awa
i dont know why
also i ran into a small handgun where i forgot to remove i += 1 and it compiled 
footgun
not handgun
what is a footgun if not a handgun for your feet?
er
at comptime?
concern
sidetracked day
// iterate in steps of 2
for i := 0..bwaa {
i += 1
}
er er ooh er er
i'm too rust brained to understand this
So if I got this right:
void main() {
0
}
mhm
either derivatives (bad) or haskell (good)
derivatives (good) or haskell (witch)
not right
triple your `
noe i know you only do this to hurt the compiler
yet
Thanks for the help!
np
damn, you got that faster than me
skiill isue
when will you use union { .a: never, .b: void } in your types
skill*

also issue*
why := enum(never) {
.stop;
}
brother stop correcting my spelling im bad at typing
results are the only unions i have used so far, will probably also use unions for this at some point
skill issue
onion
im vaguely curious to see if enums work with uninhabited types actually
this is the hblang equivalent of defining type aliases that just map to any
i just "no u"d you so hard
do they work with []u8
better not
javascript simulator
im too busy sleeping to program

sleep well 
answer is probably no
your sleep schedule plan did not work out 
enum works on basis of variants, and the number of variants of structs is likely uncomputed
i dont use enums that much because they dont work out well for deserialization
or i guess i could support them anyway
m
undefined behavior
why := fn(): type return u8
main := fn(): void {
x: ^fn(): type = &why
leaked := x()
}
cursed
not like
same with never
so much UB with function ptrs
Classic browser behavior
for me it doesnt compile unless ^fn(): type is parenthesized
dot(grid, vec2(1.0)) is slightly cheaper than adding grid.x + grid.y
thats weird, you'd think addition was faster
but the formatter just removes the parentheses every time 
bad := fn(x: ^fn(@Any()): void): void {
return x(x)
}
yes its a precedence bug
matrix multiplication my beloved
@as() works though
maybe @Any() has to be @TypeOf(x) here
compiler probably crashes when it sees this
why := fn(): type return u32
main := fn(): u32 return @as(@as(^fn(): type, &why)(), 0)
crash 
not gonna report this one
erf
what about bitcasting the return value of why to a u32 and then returning that
apparently it compiles to the same mahine code so chatgpt was jsut tripping
it returns 0
i think it makes sense
wait no
it does not i didnt actually run the program
it returns 5 for u32, 4 for u16, 3 for u8
10 for i32
finally runtime reflection real
surprised it held up
same behaviour as if you dont use fnptr though
main := fn(): @bit_cast(@as(u32, 5)) return 0
isnt it just @bit_cast(5)
since fn: <type>
but 5 is 8 bytes
ah
it work?
yes
hmmm, i have discovered bit operations are cool and fast.
ivec2 base = ivec2(id % rows, id / rows) - halfrow;
is now
ivec2 base = ivec2(id & (rows - 1), id >> 7) - halfrow;
makes sense. the type values aside from primitives are computed as hashes so essentially random u32
perhaps its the bottom type
its either struct or tuple
weird
wait no its the any type
double weird
new crash
main := fn(): @Any() return 0
this never worked
@Any() type would inferred from where main is called
main is only called in _start
have you tried this poor mans recursion
bwa
how do you set enum variant values again
.x := a;
my life for the last 3y+ 🤣 (with various browsers 🤣 🤣 )
1984
what
gross
what is size of A
internal repr u32
what if you remove .x
its strange, enum is supposed to size to the smallest int capable of holding all variants
new crash
A := enum([]u8){.x := 0}
main := fn(): A return A.x
what
enum of function ptrs
well, it will not work since global function ptrs dont exist yet
i have reached the point of optimizations that chatgpt goes against what it said earlier
chatgpt sucks at optimising
A := enum([]u8){.x}
x := fn(): struct{.x: u64; .y: u64} return @bit_cast(A.x)
main := fn(): u32 return @int_cast(x().x)
yep
ew
banned
thats not the fuckign same
they are true
chatgpt are you acting stupid or are you stupid?
its correct
no its not
the change it made is acttivly worse
it made no promise about the code working
grid is supposed to go into 1 and 3, not 1 and 2
smh caring about semantics instead of code length
whenever i see a correctness bugfix and the test disasm size gains 200 instructions

you just have to find another correctness bug and its fix will reduce the disasm
trust
performance lottery
the grass is literaly underground cuz it swapped y and z
enum(union { void, never })
nice code block
im gonna throngle you and chatgpt
its not what i wanted cuz its not what i asked for
A := enum(never){.x}
main := fn(): void return @as(void, @bit_cast(A.x))
throngle is a new one
same as before, crashes if you add one more variant
what if fn(): never return A.x

awa
awa
awa

my wake up alarm just went off

guess its time to stop sleeping
wake up
time for teletubies, time for teletubies
good morning
is it
konii is the purple teletubie
what is time anyway
A := enum(never){.x}
main := fn(): never return @bit_cast(A.x)
this crashes
but if i remove the bit cast it complains that A is not never
wrong, time is fake
konii, how is it to be a teletubie?
konii is ignoring the teletubie allegations 
she already has enough allegations smh
does @Any work
A := enum(@Any()){.x}
main := fn(): u32 return A.x
works
how about @SrcLoc or @CurrentScope
enums are secretly the most cursed feature of hblang
does it just let you return anything
wtf
what is the disasm of that
no seriously
can you .x := a
probably because its imaginary
actually
what if you change the return type
it still returns 0 if i do it with u32 a well
er
did you compile it properly
i hope
A := enum(@Any()){.x}
main := fn(): never return A.x
what happens here
_start:
sub rsp, 0x08
mov rax, 0x3C
xor rdi, rdi
syscall
it doesnt compile with never since it doesnt return never
ohh wait it might be my entrypoint code doing this
yes it is
read it, i left it as a placeholder
oh i figured it out
@Any() has the size 0
so whatever you set its still 0 bytes so it just truncates
Well, that was fun backread
you might want to write a custom entrypoint
i think my code just blanket checks for i32 atm
i wonder why the sub rsp, 0x08
its u32 in my case
setting up stack for some reason
stack space, its unused but optimizers are complex programs
since i'm on a 10 year old branch
made my first gui based app in rust you can set the background and set events and the current day is highlighted with a red outline this took hours of my life i will never get back
neurocalendar
The calendar is wrong and is gaslighting you into thinking this is Friday
for no reason, you mean
the program runs just fine without it 
without that instruction i mean
no its right its the 23rd at least where i am
i use the system date and time
im just so glad its over
the 25th is Friday, what u talking about
No I was just referencing my failure to read calendar. I thought today is Friday hence why I didn't sleep
is it not tuesday
Turns out, it is not in fact, Friday

no it has a reason
dont know why the compiler want to put it there
anyway did i do good or am i shit with ui?
just let it, its doing cute things
Its good
both can be true
nice calendar though

awesome
i might put it on github if anyone is interested id have to clean up the code first
no, the compiler is wrong, my brain way better compiler 
noooooooooo i just noticed the 2 buttons on the top left are wonky
screw it its a feature not a bug
this is the absolute fastest im probably gonna get
#version 300 es
precision highp float;
layout (std140) uniform PROJ {mat4 projection;};
layout (std140) uniform VIEW {mat4 view;};
layout (std140) uniform cam {vec3 campos;};
uniform sampler2D noisemap;
uniform ivec2 forward;
uniform float time;
uniform float density;
out float dis;
out float height;
const int rows = 128;
const int halfrow = rows / 2;
const vec3 vertices[5] = vec3[5]
(
vec3(-0.1, 0, 0),
vec3(0.1, 0, 0),
vec3(-0.075, 0.25, 0),
vec3(0.075, 0.25, 0),
vec3(0, 0.5, 0)
);
void main()
{
int id = gl_InstanceID;
ivec2 base = ivec2(id & (rows - 1), id >> 7) - halfrow;
base *= sign(forward) | ivec2(1);
base += forward;
vec2 grid = vec2(base) * density;
dis = dot(grid, grid) * 0.0001;
grid += floor(campos.xz);
vec2 rnd = texture(noisemap, grid * 0.01).xy;
grid += rnd;
vec3 vpos = vertices[gl_VertexID];
vpos.y *= rnd.x + 1.0;
height = vpos.y * 2.0;
grid.x += height * sin(time + grid.x + grid.y) * 0.2;
vec4 worldpos = view * vec4(grid.x, 0.0, grid.y, 1.0) + vec4(vpos, 0);
gl_Position = projection * worldpos;
}
its beautiful
😍
now i just gotta optemise the cpu side
I just come back from another server. Dude is asking what is causing the logged error message. After some explaining from the library author, the dude fixed it by removing the error logging 
the error is there for a reason no?
To be fair, the library author at least tell that it is indeed error on dev env only
Because of some react shenanigans
glMultiDrawArraysIndirect() doesnt work in web apparently, im gonna be doing more cursed shenanigans
ive seen that already, i was the one who originally posted it
Fun fact, in 4D you can have double rotation in perpendicular plane
So, if that tesseract is doubly rotating, it can be seen as the "outer" cube is rotating too
yeh, after i asked what a hypercube was
i member
then why keep posting it?
i didn't know you had a monopoly on hypercube
i apologize
i will stop posting it, sir
thanks
ur welcome, my lord
So it has been decided @amber fractal . We are a monarchies with Sam being ruling lord







