fractal.InitialPainting_AWS.scala Maven / Gradle / Ivy
/*
* Copyright (c) 2019 by Andrew Charneski.
*
* The author licenses this file to you under the
* Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance
* with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package fractal
import com.simiacryptus.aws.exe.EC2NodeSettings
import com.simiacryptus.sparkbook.{AWSNotebookRunner, EC2Runner}
object InitialPainting_AWS extends InitialPainting(
styleSources = Seq(
"s3a://simiacryptus/photos/shutterstock_542903440.jpg"
// "s3a://simiacryptus/photos/shutterstock_157227299.jpg"
)
) with EC2Runner[Object] with AWSNotebookRunner[Object] {
override def nodeSettings: EC2NodeSettings = EC2NodeSettings.P2_XL
override def aspect_ratio = 0.61803398875
override def plasma_magnitude = 1e-1
}