Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
K-ASS25832y@phat-lasagna I can invite you on GitHub so you can look at the current codes, which I haven’t touched for about 3 months lol
-
@K-ASS I followed you on GH, I won’t put my GitHub on here bc I wanna stay anon. I can also send you an email if you can’t tell who followed you (can’t remember if GH does notifications for that)
-
K-ASS25832y@phat-lasagna I invited you, you can run the backend locally and change the requests in frontend so it sends to local storage, whole thing runs on mongodb
-
max199313732yHtml5 grid layout
Define column layout and let the Browser arange the elements.
Like pinterest? -
K-ASS25832y@max19931 not really, my previous version was that all posts will spiral out from origin, and you have a navigation system to go to a coordinate as the number of posts grow.
Right now I’m thinking about removing the spiral out part and let user put a post at arbitrary coordinate -
max199313732y@K-ASS the sprial Animation is changing a lot of elements, which will kill performance on less powerful hardware, especially less powerful GPUs.
-
K-ASS25832y@max19931 oh no there is no spiral animation.
So imagine, the first post on this board is centered at 0 0, now just imagine every post is contained in the same box and the box is of the same size. Now, you can put the next 6 posts around the center post, and next post will go outwards etc.
In reality, posts have different size, so I will calculate a place to put it, but the posts positions are spiraling out.
Whenever a user visits a grid, I will fetch the posts in that grid, and the posts in the neighboring grid.
An infinite post board
An infinite post board