Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

physics-simulation done #814

Merged
merged 8 commits into from
Jul 29, 2023

Conversation

maharshi-gor
Copy link
Contributor

PR Details:

  • This PR has new changes for the physics-simulation section on the home page.

@maharshi-gor
Copy link
Contributor Author

@tvcastillod @ganimtron-10 Please review this

@ganimtron-10
Copy link
Contributor

Hey @Mk996 would suggest you to directly add us as reviewers from the left hand side section called Reviews instead of commenting for the review!

@maharshi-gor
Copy link
Contributor Author

Hey @Mk996 would suggest you to directly add us as reviewers from the left hand side section called Reviews instead of commenting for the review!

Hey @ganimtron-10, so I didn't have access to it. I just got it now will take care from the next PRs

Copy link
Contributor

@skoudoro skoudoro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @Mk996.

See below my small comment, after that, it can be merged

<div>
<a href="auto_examples/index.html#demos"><img src="https://github.com/fury-gl/fury-communication-assets/raw/main/helical_path.gif" alt="Helical path" align="middle"></a>
</div>
<h6 class="tabs-info">With FURY, it becomes simple to produce multiple physics animations with ease.</h6>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This text is slightly too big in mobile version. Can you update this text during mobile version.

Also, it would be great to use the same font family as the other section (scientific domains, etc...)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Serge, I have fixed the text size. But, the font family is the same, it is a matter of color and font-weight but let me take that and make it uniform across the section

@JoaoDell
Copy link
Contributor

JoaoDell commented Jul 5, 2023

Hey @Mk996, I don't have much (almost none) practice with html and css, so I don't think I will be much effective reviewing your PRs, but will see what I can do 👍

@codecov
Copy link

codecov bot commented Jul 5, 2023

Codecov Report

Merging #814 (e9ab759) into master (06bacaa) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #814   +/-   ##
=======================================
  Coverage   84.33%   84.33%           
=======================================
  Files          44       44           
  Lines       10356    10356           
  Branches     1410     1410           
=======================================
  Hits         8734     8734           
  Misses       1252     1252           
  Partials      370      370           

@ganimtron-10
Copy link
Contributor

Hey @Mk996 ,
Did you tried building it locally I am getting some errors while building it!

@maharshi-gor
Copy link
Contributor Author

Jul 7, 2023

@ganimtron-10 Every new change is reflected upon re-building only. I have tested that on my system @skoudoro can you try once

@ganimtron-10
Copy link
Contributor

ganimtron-10 commented Jul 8, 2023

Then I think there is some issue with my system as I am getting URLError as mentioned below while fetching things.

urllib.error.URLError: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond>

Copy link
Contributor

@ganimtron-10 ganimtron-10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @Mk996,
Thanks for this PR. I can confirm that the website building issue is totally on my local machine, not sure why I am unable to load rawgithubusercontent but the workaround we discussed in yesterday's meeting helped me in that.

Please have a look at the below comment, once done this PR is good to go!

Comment on lines 491 to 529
<h6 class="tabs-info txt-center">With FURY, it becomes simple to produce multiple physics animations with ease.</h6>
<div class="visualization-images">
<div class="image-grid grid g-gap-2 g-col-3 g-row-2 g-m-col-2 g-m-row-3">
<div>
<a href="fury-pybullet.html"><img
src="https://raw.githubusercontent.com/fury-gl/fury-communication-assets/main/physics_domino.gif"
alt="physics domino" align="middle"></a>

</div>
<div>
<a href="fury-pybullet.html"><img
src="https://raw.githubusercontent.com/fury-gl/fury-communication-assets/main/physics_bricks_multi_actor.gif"
alt="physics bricks" align="middle"></a>

</div>
<div>
<a href="fury-pybullet.html"><img
src="https://raw.githubusercontent.com/fury-gl/fury-communication-assets/main/physics_collision.gif"
alt="physic collision" align="middle"></a>

</div>
<div>
<a href="auto_examples/index.html#demos"><img
src="https://github.com/fury-gl/fury-communication-assets/raw/main/brownian_motion.gif"
alt="brownian motion" align="middle"></a>

</div>
<div>
<a href="auto_examples/index.html#demos"><img
src="https://github.com/fury-gl/fury-communication-assets/raw/main/em_wave.gif" alt="Em wave"
align="middle"></a>

</div>
<div>
<a href="auto_examples/index.html#demos"><img
src="https://github.com/fury-gl/fury-communication-assets/raw/main/helical_path.gif"
alt="Helical path" align="middle"></a>

</div>
Copy link
Contributor

@ganimtron-10 ganimtron-10 Jul 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why so, few links are using raw.githubusercontent and few directly linking to the fury-communication-assets?
Can't we use consistent links?

Also please have a look at Github permalinks it would help here!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not change any link from the existing code. If not I might need to see what to change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, using the raw GitHub link would be a better option as the fury-communications-asset is meant for storing the assets.

We don't want to go around and create a permalink of the objects as they are hard to manage.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, I also think raw GitHub links might help.
Let's see what @skoudoro has to say!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for permalink, we keep permalink only for code for now.

Otherwise, I am ok, for both version, they point to the same place.

Comment on lines +543 to +551
<div>
<a href="fury-pybullet.html"><img
src="https://github.com/fury-gl/fury-communication-assets/raw/main/molecular_ribbons.gif"
alt="Molecular Ribbon" align="middle"></a>
</div>
<div>
<a href="fury-pybullet.html"><img
src="https://github.com/fury-gl/fury-communication-assets/raw/main/molecular_surface.gif"
alt="Molecular Surface" align="middle"></a>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This cannot be converted to raw user link or permalink as the size of the asset is too big

@maharshi-gor
Copy link
Contributor Author

We might need to hold this PR till #820 gets merged as the new interface for the mobile version of the scientific domain also redirects to tutorial corresponding to the video played.

@ganimtron-10
Copy link
Contributor

Hey @skoudoro, This PR is almost ready please check this out!

Copy link
Contributor

@skoudoro skoudoro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good, you just need to update some link @Mk996. #820 has been merged so I am just waiting for you to update those links and we can merge this PR.

Thanks !

@skoudoro
Copy link
Contributor

ping @Mk996, Can you update some links, then we can merge this PR

Copy link
Contributor

@skoudoro skoudoro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the update. LGTM. merging

@skoudoro skoudoro merged commit 0baaf03 into fury-gl:master Jul 29, 2023
21 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants