Skip to content
Nature of code exercises and examples implemented in Common Lisp
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
0. Introduction Clean up the project's structure May 12, 2018
01. Vectors Replace cl-bodge.math with cl-bodge.engine package Mar 20, 2019
02. Forces Add exercise 2.9: custom force Oct 29, 2018
03. Oscillation Add example 3.2: Forces with (arbitrary) angular motion Mar 23, 2019
08. Fractals
assets Clean up the project's structure May 12, 2018
screenshots Add example 3.1: angular motion Feb 17, 2019
.gitignore Clean up the project's structure May 12, 2018
README.md
nature-of-code.asd
set_up_files Clean up the project's structure May 12, 2018
set_up_files.php

README.md

Nature of code

Nature of code examples and exercises implemented in Lisp using trivial-gamekit.

Example gif

Installation and usage

  1. You'll first have to add cl-bodge to quicklisp, as per the install instructions of trivial gamekit: (ql-dist:install-dist "http://bodge.borodust.org/dist/org.borodust.bodge.txt")

  2. Make sure quicklisp is able to detect this package (e.g. put it in ~/quicklisp/local-projects).

  3. (ql:quickload :nature-of-code)

  4. Run a sketch using for example (nature-of-code.introduction.example-1:start-sketch). You can find these snippets in the README of each example.

Some notes:

  • trivial-gamekit only supports 2D animations, so examples and exercises involving 3D are omitted.
  • The directory structure is set up to be easily browsable. This makes the ASDF definition kinda ugly.

Table of contents

You can’t perform that action at this time.