Skip to content

Add refraction.#1

Open
DariaKrup wants to merge 4 commits into
mainfrom
refraction
Open

Add refraction.#1
DariaKrup wants to merge 4 commits into
mainfrom
refraction

Conversation

@DariaKrup
Copy link
Copy Markdown
Owner

-refraction is added;
-final image is also presented.

Comment thread raytracing.py
img[h - j - 1, i, :] = np.clip(col, 0, 1)

plt.imsave('fig.png', img)
plt.imsave('fig_final_new.png', img) No newline at end of file
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@dsavchuk-its
Copy link
Copy Markdown

Great job!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Summarize rays: refracted and reflected into whole image. Implement formula for refracted ray production. Preparing formula.

2 participants