Trying my hand at 6502 assembly, and putting the 500MHz 6502 through its paces, with (what else?) ray-tracing.
Posts for: #Simulation
Emulating the Apple ][ part 1: simulating an 8-bit microprocessor
Building a cycle-accurate simulation of the MOS 6502 microprocessor using test-driven development against millions of real-world states. Gratification when it successfully runs real assembly code.
Simulating a geartrain (and revisiting the pendulum clock)
Ray-tracing from scratch part 4: diffuse reflection and lens effects
Simulating the paths of individual photons from emission to absorption, in order to accurately predict how glass will focus light; how surfaces will bounce-illumanate one another; and how hot my laptop's cpu can get.
Ray-tracing from scratch part 3: complex shapes and partial reflections
Adding many enhancements to the ray-tracer, and upgrading its performance, making it possible to accurately predict the appearance of complex objects in simulated environments.
Ray-tracing from scratch part 2: into C++
Our ray-tracing graphics engine is greatly improved with additional shapes, more accurate simulation, and a complete rewrite in C++ -- leading to a 300x improvement in performance, and the possibility of moving images.
The Natural Selection of Neural Networks
Simulating the evolution of neural networks through natural selection by pitting thousands of predators and prey against one another -- and finally proving Charles right.
Ray-tracing from scratch part 1: a basic engine in Python
Simulating the paths that rays of light take as they are emitted, absorbed, reflected, and refracted, in order to predict the visual appearance of various arrangements of spheres unlikely to occur naturally in the real world.
Coding a 2D Physics Engine from Scratch (and simulating a pendulum clock)
Detecting interactions, calculating impulses, resolving collisions, and paying Newton's laws the respect they deserve.