Skip to content
This repository has been archived by the owner on Apr 11, 2021. It is now read-only.
/ kproc Public archive

Processing with Kotlin

License

Notifications You must be signed in to change notification settings

nickoala/kproc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Processing with Kotlin

This project grows out of my desire to learn Kotlin and Processing simultaneously. It is also an experiment to gain access to Processing's core library (all those graphics functions) without using its IDE. As it turned out, Processing and Kotlin can work together quite seamlessly.

All programs are small and stand-alone. You need Java 8 and Gradle 4.4 to build them:

  • gradle classes to compile
  • gradle run to see it

In chronological order:

Model gravity and bouncing.

Bouncing Balls

Game of Life

Fractals

Follow a fixed point on a rolling circle. Some beautiful curves are traced out.

Loci

Use arrow keys to adjust the launching angle and speed, use spacebar to launch. Model gravity and wind resistance.

Cannon Game

Experiment with JBox2D. Can the house stop the boulders?

Boulder Slide

Thanks to The Nature of Code for inspirations.

Releases

No releases published

Packages

No packages published

Languages