Giter Club home page Giter Club logo

simuleios's Introduction

SimuLeios

Learning to code with scientific examples.

=========

I will be teaching my subscribers how to code in C++, Fortran, and Python in the next few months and have decided to use github for this purpose. We will then start working on all sorts of coding projects.

=========

This project will be significantly different than other projects intended to teach coding to anyone willing to learn. Instead of teaching basic coding principles, we will be looking at different aspects of real and fictional worlds and simulating them in order to teach fundamental lessons about coding -- particularly scientific computation.

As another note: my own coding style is significantly different than those who have had formal training in Computer Science. I will be teaching in the way I find most interesting and fulfilling. Please feel free to drop in and learn a little about different coding practices when you have the time!

Toodles!

PS: I think I will have a video up detailing each of the lessons, so feel free to stop by my youtube chanel every once in a while.

simuleios's People

Contributors

holsta avatar kramsfasel avatar leios avatar mika314 avatar zsparal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simuleios's Issues

Blender version

Hi. I wanted to run blender script fourth_dimension.py but I'm getting error :KeyError: 'bpy_prop_collection[key]: key "Lamp" not found'. After changing name from "Lamp" to "Light" I'm getting another error. My guess is that's because I have a newer Blender version.
Can you provide version you used? Even better a requirements.txt file with all the libraries would be awesome. Thanks in advance!

Had to switch a flag in the make file

To get this to compile I needed to move the $(CAIROFLAGS) to the end.

%.o: %.cpp $(DEPS)
$(CXX) $(CXXFLAGS) -c -o $@ $< $(CAIROFLAGS)

$(BINS): $(OBJ)
$(CXX) $(CXXFLAGS) -o $(BINS) $^ $(CAIROFLAGS)

Horrible error with fourth_dimension.py

I'm not sure what's causing it, I may have done something wrong, but on v2.78c the script is completely non-functional. The edges get placed somewhere far off and no rotation seems to occur at all. The only thing that does seem to happen is the light source slowly moves.

A few refraction index functions

diff = distance(lens.origin, p);
if (diff > 0.001){
    index = 1.0 / diff;
} else {
    index = 1000;
}

Try these in the diff > 0.001 part of the if branch:

  • index = exp(diff) / diff;
  • index = 1.0 / sqrt(diff);
  • index = 1.0 / cbrt(diff);
  • index = erf(1.0 / diff);
  • index = exp(1 / cbrt(diff)) * (1 / diff);
  • index = 1.0 / ((diff) / (diff + 1));
  • index = 1.0 / ((diff * (6.2 * diff + 0.5)) / (diff * (6.2 * diff + 1.7) + 0.06));
  • index = sqrt(length(p));

Doesn't fit on a list:

index = 0.5 * (fabs(0.5 * diff) + sqrt(1 - (pow(fabs(fabs(diff) - 2) - 1, 2))) -
        1 / 112 * (3 * sqrt(33) - 7) * diff * diff + 3 * sqrt(1 - (diff / 7) * (diff / 7) ) - 3) *
        ((diff + 4) / fabs(diff + 4) - (diff - 4) / fabs(diff - 4)) - 3 * sqrt(1 - (diff / 7) * (diff / 7));
index = fabs(index);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.