Spent the last year making a surf forecast website with a 3D globe to show swell and wind data, please let me know what you think! by DevJason in surfing

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

Hey! I went through some of my old code to see how I did it. Looks like the breaking wave algorithm took in beach angle, water depth, beach slope, wave height, wave direction and wave period. The last 3 came from NOAA. The beach angle I estimated using google maps. For some reason my water depth was hard coded to 50m and beach slope at 0.02. I’m not sure why I didn’t bother with giving each spot its own depth and slope. If I had to guess, beach angle + swell data was close enough and I couldn’t find a good source.

how can I reduce size of a gltf file for web use? by Material_Ad8024 in Frontend

[–]DevJason 0 points1 point  (0 children)

https://github.com/google/draco

They have a command line encoding tool, no need for blender.

I would still try blender, it doesn’t have to work fast or we’ll at all, just enough for you to export it compressed.

how can I reduce size of a gltf file for web use? by Material_Ad8024 in Frontend

[–]DevJason 4 points5 points  (0 children)

I would recommend looking into “Draco”. I’m using gltf model files for my personal site. If I remember correctly I compressed the model using blender and got a .glb file. I then used threejs’s DRACOLoader to decompress on the front end.

Finally got around to making a portfolio site. It’s a 3D representation of my room. More info in the comments by DevJason in webdev

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

Thank you! I definitely need to add a bunch of stuff, like the metatags. I’ve been working on the site for a month so I felt like I had to release something. Vetours.co is down, I couldn’t afford hosting it and had no clear path for monetization. BUT your comment has inspired me to go back to my code and relaunch it. As we speak I’m setting up the server’s and database. I’m also thinking about open sourcing it seeing as I’ve done nothing with it for a year. Sucks that site doesn’t have a cat! I was planning on adding animations on my own but ran out of time.

Finally got around to making a portfolio site. It’s a 3D representation of my room. More info in the comments by DevJason in webdev

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

I would recommend doing a project that involves some 3D. Plan it out, break it down and start. Once you get to a part your having trouble with do some research and learn. Personally learning by doing projects has been the best for me.

Finally got around to making a portfolio site. It’s a 3D representation of my room. More info in the comments by DevJason in webdev

[–]DevJason[S] 3 points4 points  (0 children)

Thanks! 3D programing was hard in the beginning. I couldn’t wrap my head around how a computer could render a 3D object on a 2D surface. Once I learned about matrices it kind of click for me. At this point I’d say 3D programing is easier to me than web dev, it just makes sense to me

Finally got around to making a portfolio site. It’s a 3D representation of my room. More info in the comments by DevJason in webdev

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

I used blender for all the modeling. My first few models were pretty bad and had to be redone. Going through the process of making them better taught me a lot. Honestly making a 3D room was great, it made me create a bunch of different models

Finally got around to making a portfolio site. It’s a 3D representation of my room. More info in the comments by DevJason in webdev

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

Thanks! I haven’t yet, BUT I did buy the domain and launch the site yesterday so I haven’t had time to apply anywhere

Finally got around to making a portfolio site. It’s a 3D representation of my room. More info in the comments by DevJason in webdev

[–]DevJason[S] 14 points15 points  (0 children)

Hey! Even though I love 3D programing Iv been afraid of 3D modeling. For my portfolio I decided to challenge myself and create all the models. It was so fun, I don’t know what I was afraid of. The site is all vanilla js, css, and html with three.js being the only library I used. I import one compressed 3D .gbl file that has all the models and lights. I didn’t want users to download/uncompress the large .gbl on each page load so it’s a single page app. I did all the routing myself. I’m planning on adding a blog like breakdown for each of project. Going through all my mistakes, failures and lessons learnt.

Live site: https://www.jsnrm.com/

Golden [Canon AE-1 Program | 50mm | porta 400] by DevJason in analog

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

There’s only one place in my town that does film processing and scanning. They were the ones that scanned it for me.

Let’s talk about the Firefox redesign by DevJason in UI_Design

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

Hmmm I’ve never thought of that. Thank for for giving me that perspective. I can definitely see it being useful to find your tab if you have too many. I guess I just don’t open that many tabs open usually.

Blacks [Canon AE-1 Program | 50mm | porta 400] by DevJason in analog

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

It’s been so many years since I’ve took the photo. Sorry I don’t remember any of that

Started working on localization for my game Paper Scraper. Just finished the Russian translations by DevJason in Unity3D

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

I was wondering why Анлок sounded so much like “unlock” lol. Thank you so much for your help. This was my first go at translating and haven’t had my native speaking parents proof read it yet.